From 46897e9c6e3c1c4397b59f38027169082b180b0e Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 6 Oct 2018 16:46:52 +0200 Subject: [PATCH] Correct a couple of values (#389) --- Source/effects.cpp | 2 +- Source/player.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/effects.cpp b/Source/effects.cpp index 1d35b12d2..480f15fc6 100644 --- a/Source/effects.cpp +++ b/Source/effects.cpp @@ -1167,7 +1167,7 @@ void __cdecl effects_cleanup_sfx() for ( DWORD i = 0; i < NUM_SFX; i++ ) { if ( sgSFX[i].pSnd ) { sound_file_cleanup(sgSFX[i].pSnd); - sgSFX[i].pSnd = 0; + sgSFX[i].pSnd = NULL; } } } diff --git a/Source/player.cpp b/Source/player.cpp index d59233751..6a2f05635 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -905,8 +905,8 @@ void __fastcall InitPlayer(int pnum, BOOL FirstTime) plr[pnum]._pInvincible = FALSE; if ( pnum == myplr ) { - deathdelay = FALSE; - deathflag = 0; + deathdelay = 0; + deathflag = FALSE; ScrollInfo._sxoff = 0; ScrollInfo._syoff = 0; ScrollInfo._sdir = 0;