mirror of
https://github.com/nzp-team/quakec.git
synced 2025-01-31 13:40:52 +00:00
SERVER: Restore Hellhound detection
This commit is contained in:
parent
6f5889d169
commit
b9b5d2be4a
1 changed files with 6 additions and 1 deletions
|
@ -132,12 +132,17 @@ void() StartFrame =
|
|||
SpawnedIn = find(world, classname, "player");
|
||||
|
||||
if (SpawnedIn) {
|
||||
entity hellhound = find(world, classname, "spawn_dog");
|
||||
|
||||
if (hellhound != world)
|
||||
gotdog = true;
|
||||
|
||||
Compat_Init();
|
||||
updateDogRound();
|
||||
time_before_gamestart = time + 3;
|
||||
}
|
||||
return;
|
||||
} else if (time_before_gamestart < time) {
|
||||
updateDogRound();
|
||||
InitRounds();
|
||||
nzp_screenflash(world, SCREENFLASH_COLOR_BLACK, 1, SCREENFLASH_FADE_OUT);
|
||||
sound(self, CHAN_AUTO, "sounds/rounds/splash.wav", 1, ATTN_NONE);
|
||||
|
|
Loading…
Reference in a new issue