diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 45dab97080..b1f4bf4d29 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ April 4, 2008 (Changes by Graf Zahl) +- Increased limit for demon/melee to 4. - Fixed: P_CheckSwitchRange accessed invalid memory when testing a one-sided line. - Fixed: P_SpawnPuff assumed that all melee attacks have the same range diff --git a/src/s_sound.cpp b/src/s_sound.cpp index c5d6c67bff..ff7007bef7 100644 --- a/src/s_sound.cpp +++ b/src/s_sound.cpp @@ -715,7 +715,8 @@ static void S_StartSound (fixed_t *pt, AActor *mover, int channel, // If this sound doesn't like playing near itself, don't play it if // that's what would happen. - if (NearLimit > 0 && pt != NULL && S_CheckSoundLimit(sfx, pos, NearLimit)) + if (NearLimit > 0 && pt != NULL && mover != players[consoleplayer].camera && + S_CheckSoundLimit(sfx, pos, NearLimit)) return; // Make sure the sound is loaded. diff --git a/src/version.h b/src/version.h index b55de6ae7e..601b27e89e 100644 --- a/src/version.h +++ b/src/version.h @@ -75,7 +75,7 @@ // SAVESIG should match SAVEVER. // MINSAVEVER is the minimum level snapshot version that can be loaded. -#define MINSAVEVER 854 +#define MINSAVEVER 879 #if SVN_REVISION_NUMBER < MINSAVEVER // Never write a savegame with a version lower than what we need diff --git a/wadsrc/sndinfo.txt b/wadsrc/sndinfo.txt index e50fb95924..d7a23189fc 100644 --- a/wadsrc/sndinfo.txt +++ b/wadsrc/sndinfo.txt @@ -313,6 +313,7 @@ demon/active dsdmact demon/pain dsdmpain demon/melee dssgtatk demon/death dssgtdth +$limit demon/melee 4 // Spectre