]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove unused specialcommand stuff from the client
authorterencehill <piuntn@gmail.com>
Thu, 24 Nov 2016 23:14:53 +0000 (00:14 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 24 Nov 2016 23:14:53 +0000 (00:14 +0100)
qcsrc/common/physics/player.qc

index b5635e0945e0625dce91d9877bdb67fe7ab32285..26454152270150477da3a12c6edb48c22d6be231 100644 (file)
@@ -481,15 +481,15 @@ float racecar_angle(float forward, float down)
                return ret * angle_mult;
 }
 
+#ifdef SVQC
 string specialcommand = "xwxwxsxsxaxdxaxdx1x ";
 .float specialcommand_pos;
 void SpecialCommand(entity this)
 {
-#ifdef SVQC
        if (!CheatImpulse(this, CHIMPULSE_GIVE_ALL.impulse))
                LOG_INFO("A hollow voice says \"Plugh\".\n");
-#endif
 }
+#endif
 
 bool PM_check_specialcommand(entity this, int buttons)
 {