mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fixed mistake in outerspace check
This commit is contained in:
parent
90e07b77d5
commit
50184a8796
@ -88,10 +88,10 @@ handle_entries() {
|
|||||||
bool got_max = false;
|
bool got_max = false;
|
||||||
float max_height = 0.0f;
|
float max_height = 0.0f;
|
||||||
|
|
||||||
Entries::const_iterator ei;
|
if (!entries.empty()) {
|
||||||
if (ei != entries.end()) {
|
|
||||||
_outer_space = false;
|
_outer_space = false;
|
||||||
}
|
}
|
||||||
|
Entries::const_iterator ei;
|
||||||
for (ei = entries.begin(); ei != entries.end(); ++ei) {
|
for (ei = entries.begin(); ei != entries.end(); ++ei) {
|
||||||
CollisionEntry *entry = (*ei);
|
CollisionEntry *entry = (*ei);
|
||||||
nassertr(entry != (CollisionEntry *)NULL, false);
|
nassertr(entry != (CollisionEntry *)NULL, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user