]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix warning
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 31 Oct 2011 10:29:39 +0000 (11:29 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 31 Oct 2011 10:29:39 +0000 (11:29 +0100)
qcsrc/warpzonelib/server.qc

index e662bf41f315219f16e98bb0eb8770fd9f2a5c41..4f10aef4e8a3419851e35b70c720ac97bb80552a 100644 (file)
@@ -331,8 +331,7 @@ float WarpZone_CheckProjectileImpact(entity player)
 
 #ifdef REMOVEHACK
        return 0;
-#endif
-
+#else
        // retry previous move
        setorigin(player, player.warpzone_oldorigin);
        player.velocity = player.warpzone_oldvelocity;
@@ -367,6 +366,7 @@ float WarpZone_CheckProjectileImpact(entity player)
        }
 
        return +1;
+#endif
 }
 float WarpZone_Projectile_Touch()
 {