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;