bug fixed in kill_much():
for ( .. ; i != (Lindex) i; .. ) should be for ( .. ; i != (Lindex) 0; .. ).
This commit is contained in:
parent
e7f7f33f60
commit
c478b62711
|
@ -303,7 +303,7 @@ kill_much()
|
||||||
register Lindex i;
|
register Lindex i;
|
||||||
|
|
||||||
OUTTRACE("kill much", 0);
|
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);
|
register entity_p rep = en_elem(i);
|
||||||
|
|
||||||
if (rep->en_static) continue;
|
if (rep->en_static) continue;
|
||||||
|
|
Loading…
Reference in a new issue