diff --git a/TemplePlus/sound.cpp b/TemplePlus/sound.cpp index 52d743b58..4a832c5f2 100644 --- a/TemplePlus/sound.cpp +++ b/TemplePlus/sound.cpp @@ -74,7 +74,7 @@ int SoundHooks::FindSound(int soundId, char* filename){ } - // try tpSounds.mes first + // try tpmes\sounds.mes first MesLine mesline; mesline.key = soundId; diff --git a/TemplePlus/xp.cpp b/TemplePlus/xp.cpp index 2f867753b..57b45f569 100644 --- a/TemplePlus/xp.cpp +++ b/TemplePlus/xp.cpp @@ -9,6 +9,7 @@ #include "party.h" #include "d20_level.h" #include "gamesystems/objects/objsystem.h" +#include "sound.h" temple::GlobalPrimitive experienceMultiplier; temple::GlobalPrimitive numCrittersSlainByCR; @@ -178,6 +179,8 @@ void XPTableForHighLevels::GiveXPAwards(){ if (bShouldUpdatePartyUI){ templeFuncs.UpdatePartyUI(); + sound.PlaySound(100001); // LEVEL_UP.WAV + sound.PlaySound(100001); // amp it up a bit } return; diff --git a/tpdata/tpmes/sounds.mes b/tpdata/tpmes/sounds.mes index 15d935fae..ed68fb5fa 100644 --- a/tpdata/tpmes/sounds.mes +++ b/tpdata/tpmes/sounds.mes @@ -66,4 +66,5 @@ {3362}{} // equip fire item {3363}{} // equip power item -{100000}{thunderclap.mp3} \ No newline at end of file +{100000}{thunderclap.mp3} +{100001}{LEVEL_UP.WAV} \ No newline at end of file