diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index a621c219..c16d119f 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -189,6 +189,9 @@ void SV_UpdateMovevars( qboolean initialize ) if( !initialize && !host.movevars_changed ) return; + // NOTE: this breaks Natural Selection mod on ns_machina map that uses model as sky + // it sets the value to 4000000 that even exceeds the coord limit +#if 0 // check range if( sv_zmax.value < 256.0f ) Cvar_SetValue( "sv_zmax", 256.0f ); @@ -203,6 +206,7 @@ void SV_UpdateMovevars( qboolean initialize ) if( sv_zmax.value > 32767.0f ) Cvar_SetValue( "sv_zmax", 32767.0f ); } +#endif svgame.movevars.gravity = sv_gravity.value; svgame.movevars.stopspeed = sv_stopspeed.value;