From d49ed2e06b822fe254bb51fe3ecb46d7b7ceb2d6 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 27 May 2007 06:42:10 +0000 Subject: [PATCH] default sv_gameplayfix_blowupfallenzombies to 0 in -hipnotic mode as it messes up the friendly monsters git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7374 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 e24170ab..9db61cd4 100644 --- a/sv_main.c +++ b/sv_main.c @@ -413,6 +413,13 @@ void SV_Init (void) } Cvar_RegisterVariable (&cutscene); // for Nehahra but useful to other mods as well + // any special defaults for gamemodes go here + 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. + Cvar_SetValueQuick (&sv_gameplayfix_blowupfallenzombies, 0); + } + sv_mempool = Mem_AllocPool("server", 0, NULL); } -- 2.39.2