]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't remove self (probable cause of an annoying crash)
authorMario <mario@smbclan.net>
Sun, 3 Jan 2016 16:49:47 +0000 (02:49 +1000)
committerMario <mario@smbclan.net>
Sun, 3 Jan 2016 16:49:47 +0000 (02:49 +1000)
qcsrc/common/effects/qc/casings.qc

index 5b64817912810c1e41ceee29cf470c4a4112c4f7..6763519ef49b55543bac9a1d150c6054861beccf 100644 (file)
@@ -40,7 +40,7 @@ class(Casing) .float cnt;
 
 void Casing_Delete(entity this)
 {
-    remove(self);
+    remove(this);
 }
 
 void Casing_Draw(entity this)