]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/effects/qc/rubble.qh
s/world/NULL/
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / effects / qc / rubble.qh
index 6b36b2c53e4a283c43a2f6f5b9b8cd053cdb0d53..7848b7b1f3a31d34d6069c9920ed81359f608952 100644 (file)
@@ -18,7 +18,7 @@ void RubbleLimit(string cname, float limit, void(entity) deleteproc)
        while (1)
        {
                e = findchain(classname, cname);
-               if (e == world) break;
+               if (e == NULL) break;
                // walk the list and count the entities, find the oldest
                // initialize our search with the first entity
                c = 1;