From ae6e4df06f1d84cc99200844a13ab6ecbffaee1c Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 4 Feb 2016 17:40:51 +1000 Subject: [PATCH] Don't set wasFlying on the client, waste of CPU --- qcsrc/common/physics/player.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 96d1a9e7a..4356ba286 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -1472,8 +1472,10 @@ void PM_Main(entity this) PM_Footsteps(this); } +#ifdef SVQC if(IsFlying(this)) this.wasFlying = 1; +#endif if (IS_PLAYER(this)) CheckPlayerJump(this); -- 2.39.2