From 7ffe4fda0295381b778fbb32c576e4c89c5fcc54 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 1 May 2009 18:22:37 +0000 Subject: [PATCH] fix a couple compatibility issues with Nehahra git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8943 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.39.2