Browse Source

Correct a couple of values (#389)

pull/25/head
Anders Jenbo 8 years ago committed by Robin Eklind
parent
commit
46897e9c6e
  1. 2
      Source/effects.cpp
  2. 4
      Source/player.cpp

2
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;
}
}
}

4
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;

Loading…
Cancel
Save