From: havoc Date: Fri, 1 May 2009 18:22:37 +0000 (+0000) Subject: fix a couple compatibility issues with Nehahra X-Git-Tag: xonotic-v0.1.0preview~1672 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ffe4fda0295381b778fbb32c576e4c89c5fcc54;p=xonotic%2Fdarkplaces.git fix a couple compatibility issues with Nehahra git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8943 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index 495afebc..6e47d014 100644 --- a/sv_main.c +++ b/sv_main.c @@ -444,6 +444,13 @@ void SV_Init (void) Cvar_RegisterVariable (&halflifebsp); // any special defaults for gamemodes go here + if (gamemode == GAME_NEHAHRA) + { + // Nehahra pushable crates malfunction in some levels if this is on + Cvar_SetValueQuick (&sv_gameplayfix_upwardvelocityclearsongroundflag, 0); + // Nehahra NPC AI is confused by this feature + Cvar_SetValueQuick (&sv_gameplayfix_blowupfallenzombies, 0); + } if (gamemode == GAME_HIPNOTIC) { // hipnotic mission pack has issues in their 'friendly monster' ai, which seem to attempt to attack themselves for some reason when findradius() returns non-solid entities.