From: Mario Date: Sun, 3 Jan 2016 16:49:47 +0000 (+1000) Subject: Don't remove self (probable cause of an annoying crash) X-Git-Tag: xonotic-v0.8.2~1298 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=b7a70d8fc8f3941fd3a2629f4b9dee8ba4fbff28 Don't remove self (probable cause of an annoying crash) --- diff --git a/qcsrc/common/effects/qc/casings.qc b/qcsrc/common/effects/qc/casings.qc index 5b64817912..6763519ef4 100644 --- a/qcsrc/common/effects/qc/casings.qc +++ b/qcsrc/common/effects/qc/casings.qc @@ -40,7 +40,7 @@ class(Casing) .float cnt; void Casing_Delete(entity this) { - remove(self); + remove(this); } void Casing_Draw(entity this)