bug fixed in kill_much():
for ( .. ; i != (Lindex) i; .. ) should be for ( .. ; i != (Lindex) 0; .. ).
This commit is contained in:
parent
358b1b8695
commit
e25c8f5549
@ -303,7 +303,7 @@ kill_much()
|
||||
register Lindex i;
|
||||
|
||||
OUTTRACE("kill much", 0);
|
||||
for (i = Lfirst(entities); i != (Lindex) i; i = Lnext(i, entities)) {
|
||||
for (i = Lfirst(entities); i != (Lindex) 0; i = Lnext(i, entities)) {
|
||||
register entity_p rep = en_elem(i);
|
||||
|
||||
if (rep->en_static) continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user