diff --git a/src/system/sound.c b/src/system/sound.c index 6c1b4b1..1d45792 100644 --- a/src/system/sound.c +++ b/src/system/sound.c @@ -159,6 +159,8 @@ static void loadSounds(void) sounds[SND_DENIED] = loadSound("sound/142608__autistic-lucario__error.ogg"); sounds[SND_CONFIRMED] = loadSound("sound/39028__wildweasel__cardlock-open.ogg"); sounds[SND_HEART_CELL] = loadSound("sound/162467__kastenfrosch__gotitem.ogg"); + sounds[SND_ELECTRIC_HIT] = loadSound("sound/46501__phreaksaccount__welder1.ogg"); + sounds[SND_ITEM_PAD] = loadSound("sound/383779__jay-you__telephone-dialing.ogg"); sounds[SND_MISSION_COMPLETE] = loadSound("sound/113989__kastenfrosch__gewonnen.ogg"); sounds[SND_TROPHY] = loadSound("sound/278142__ricemaster__effect-notify.ogg"); diff --git a/src/system/sound.h b/src/system/sound.h index 7bd90bc..763b65e 100644 --- a/src/system/sound.h +++ b/src/system/sound.h @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "SDL2/SDL_mixer.h" -#define MIN_BATTLE_SOUND_DISTANCE MAP_TILE_SIZE * 2 +#define MIN_BATTLE_SOUND_DISTANCE (MAP_TILE_SIZE * 8) #define MAX_BATTLE_SOUND_DISTANCE (SCREEN_WIDTH * 2) extern char *getFileLocation(char *filename);