From 25a1ffe02a371153f604b0e0752e2973d49376fe Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Thu, 1 Jun 2017 22:21:02 +0100 Subject: [PATCH] Make it such that you only flash on game join in Co-op, not on all spawns. --- src/p_mobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 70e94d234..9f48cfbea 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -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);