Skip to content

Commit 1fe5d1e

Browse files
authored
Reenable red fade into possession in multiplayer (#4408)
and hope the crashes it caused before do not return
1 parent b9a8aab commit 1fe5d1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vidfade.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ void ProperForcedFadePalette(unsigned char *pal, long fade_steps, enum TbPalette
280280

281281
long PaletteFadePlayer(struct PlayerInfo *player)
282282
{
283-
if (game.game_kind == GKind_MultiGame)
284-
return 0; //todo Fix the bug properly. This function causes crashes in multiplayer.
285-
283+
if (player->main_palette == NULL) {
284+
return 0;
285+
}
286286
long i;
287287
unsigned char palette[PALETTE_SIZE];
288288
// Find the fade step

0 commit comments

Comments
 (0)