]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix problem with guardian not waking up in dissolution of eternity
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Jul 2007 20:49:11 +0000 (20:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Jul 2007 20:49:11 +0000 (20:49 +0000)
mission pack

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7492 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index 03a9615f918dec6040cc0e0bac5e55cdac2b400c..19f35f724e0bd5fbc2a78edbf516443e1d6920d0 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -423,6 +423,11 @@ void SV_Init (void)
                // 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);
        }
+       if (gamemode == GAME_ROGUE)
+       {
+               // rogue mission pack has a guardian boss that does not wake up if findradius returns one of the entities around its spawn area
+               Cvar_SetValueQuick (&sv_gameplayfix_findradiusdistancetobox, 0);
+       }
 
        sv_mempool = Mem_AllocPool("server", 0, NULL);
 }