bug fixed in kill_much():
authorbal <none@none>
Thu, 28 Feb 1985 10:35:57 +0000 (10:35 +0000)
committerbal <none@none>
Thu, 28 Feb 1985 10:35:57 +0000 (10:35 +0000)
for ( .. ; i != (Lindex) i; ..  ) should be
for ( .. ; i != (Lindex) 0; ..  ).

util/ego/cs/cs_kill.c

index 9a30f90..ce42443 100644 (file)
@@ -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;