]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/movetypes/movetypes.qc
Remove engine side player movement prediction, and the extra mode without CSQC movety...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / movetypes / movetypes.qc
index 07f19206590fb4e0be5131ed351168659240e268..ccdf2e70397b483f0e493bce1eb4933b38c5ca38 100644 (file)
@@ -309,7 +309,7 @@ void _Movetype_CheckWaterTransition(entity ent)  // SV_CheckWaterTransition
        if(!ent.watertype)
        {
                // just spawned here
-               if(!autocvar_cl_gameplayfix_fixedcheckwatertransition)
+               if(!GAMEPLAYFIX_WATERTRANSITION(ent))
                {
                        ent.watertype = contents;
                        ent.waterlevel = 1;
@@ -331,7 +331,7 @@ void _Movetype_CheckWaterTransition(entity ent)  // SV_CheckWaterTransition
        else
        {
                ent.watertype = CONTENT_EMPTY;
-               ent.waterlevel = (autocvar_cl_gameplayfix_fixedcheckwatertransition ? 0 : contents);
+               ent.waterlevel = (GAMEPLAYFIX_WATERTRANSITION(ent) ? 0 : contents);
        }
 }