]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix warning
authorRudolf Polzer <divverent@alientrap.org>
Mon, 16 Jan 2012 10:25:34 +0000 (11:25 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 16 Jan 2012 10:25:34 +0000 (11:25 +0100)
qcsrc/server/cheats.qc

index d3b44b67a4753c93be14ee6f016b6b941fe809c5..a5f3d40886d5349a31ca870339b7b7e9b7dce322 100644 (file)
@@ -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);