mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -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;
|
||||
float max_height = 0.0f;
|
||||
|
||||
Entries::const_iterator ei;
|
||||
if (ei != entries.end()) {
|
||||
if (!entries.empty()) {
|
||||
_outer_space = false;
|
||||
}
|
||||
Entries::const_iterator ei;
|
||||
for (ei = entries.begin(); ei != entries.end(); ++ei) {
|
||||
CollisionEntry *entry = (*ei);
|
||||
nassertr(entry != (CollisionEntry *)NULL, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user