]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
cl_client.qc fix
authorFruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 10:41:52 +0000 (13:41 +0300)
committerFruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 10:41:52 +0000 (13:41 +0300)
qcsrc/server/cl_client.qc

index e618b565bd2c36a0ffbec57a519bd9e8318f775c..b4f9e2da0fc59161530882ca6d97ef57993882b9 100644 (file)
@@ -1318,7 +1318,7 @@ void CTS_ClientKill_Think (void)
 void CTS_ClientKill (float t) // silent version of ClientKill
 {
        entity e;
-       spawn(e);
+       e = spawn();
        e.owner = self;
        e.think = CTS_ClientKill_Think;
        e.nextthink = t;