]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update comment for crouching
authorSamual Lenks <samual@xonotic.org>
Mon, 6 Jan 2014 21:59:56 +0000 (16:59 -0500)
committerSamual Lenks <samual@xonotic.org>
Mon, 6 Jan 2014 21:59:56 +0000 (16:59 -0500)
qcsrc/server/cl_client.qc

index 7b6f3dbce941e44c8d00c9aec6cafa076b2294cb..32da03446890da5e4f3e84e7a636b353d242be1b 100644 (file)
@@ -2348,7 +2348,10 @@ void PlayerPreThink (void)
                        do_crouch = 0;
                if(self.freezetag_frozen)
                        do_crouch = 0;
-               if((self.weapon == WEP_SHOCKWAVE || self.weapon == WEP_SHOTGUN) && self.weaponentity.wframe == WFRAME_FIRE2 && time < self.weapon_nextthink) // WEAPONTODO
+
+               // WEAPONTODO: THIS SHIT NEEDS TO GO EVENTUALLY
+               // It cannot be predicted by the engine! 
+               if((self.weapon == WEP_SHOCKWAVE || self.weapon == WEP_SHOTGUN) && self.weaponentity.wframe == WFRAME_FIRE2 && time < self.weapon_nextthink)
                        do_crouch = 0;
 
                if (do_crouch)