From: Rudolf Polzer Date: Mon, 16 Jan 2012 10:25:34 +0000 (+0100) Subject: fix warning X-Git-Tag: xonotic-v0.6.0~157^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ef4c4ebf1c3f0b94627f1ca7f042f279e663368;p=xonotic%2Fxonotic-data.pk3dir.git fix warning --- diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index d3b44b67a..a5f3d4088 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -221,7 +221,7 @@ float CheatImpulse(float i) IS_CHEAT(i, 0, 0); if(self.movetype == MOVETYPE_NOCLIP) { - entity e = find(world, classname, "info_autoscreenshot"); + e = find(world, classname, "info_autoscreenshot"); if(e) { setorigin(self, e.origin);