Make it such that you only flash on game join in Co-op, not on all spawns.

This commit is contained in:
toasterbabe 2017-06-01 22:21:02 +01:00
parent 51f0d6f2e2
commit 25a1ffe02a
1 changed files with 1 additions and 1 deletions

View File

@ -9135,7 +9135,7 @@ void P_SpawnPlayer(INT32 playernum)
p->skincolor = skincolor_blueteam;
}
if ((netgame || multiplayer) && !p->spectator)
if ((netgame || multiplayer) && !p->spectator && (gametype != GT_COOP || ((p->jointime < 1) && !(G_IsSpecialStage(gamemap) && useNightsSS))))
p->powers[pw_flashing] = flashingtics-1; // Babysitting deterrent
mobj = P_SpawnMobj(0, 0, 0, MT_PLAYER);