]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/rubble.qc
Port shockwave
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / rubble.qc
index 8035fd76e127028dc218ef2ec5942a3802992add..5af2e235070f7c5d7b63f2fc3d30353f0f206cfd 100644 (file)
@@ -39,8 +39,7 @@ void RubbleLimit(string cname, float limit, void() deleteproc)
                        break;
 
                // delete this oldest one and search again
-               SELFCALL(oldest, deleteproc());
-               SELFCALL_DONE();
+               WITH(entity, self, oldest, deleteproc());
        }
 }