]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/movetypes.qh
Add proper cvar for the gameplayfix setting
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / movetypes.qh
index a578e0c91dcc1220fce709e7f1f20f2553c62667..287226e53b7f918cbf4e788f99bcbf2e7252edb0 100644 (file)
@@ -13,9 +13,8 @@
 .float move_bounce_stopspeed;
 .float move_nomonsters; // -1 for MOVE_NORMAL, otherwise a MOVE_ constant
 
-// TODO: what to do with this? in Xonotic, we always have it enabled anyway
-// however, it is a server setting which could in theory be disabled...?
-float autocvar_sv_gameplayfix_fixedcheckwatertransition; 
+// should match sv_gameplayfix_fixedcheckwatertransition
+var float autocvar_cl_gameplayfix_fixedcheckwatertransition = 1;
 
 void Movetype_Physics_MatchTicrate(float tr, float sloppy);
 void Movetype_Physics_MatchServer(float sloppy);