1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-09 22:06:01 +00:00

added -DMUSICDESTDIR

This commit is contained in:
Zeno Rogue
2017-03-31 22:10:05 +02:00
parent b7450edef5
commit 0d7d2cf825
5 changed files with 10 additions and 6 deletions

View File

@@ -184,7 +184,11 @@ void initAudio() {
map<string, Mix_Chunk*> chunks;
#ifdef SOUNDDESTDIR
string wheresounds = SOUNDDESTDIR;
#else
string wheresounds = "sounds/";
#endif
void playSound(cell *c, const string& fname, int vol) {
if(effvolume == 0) return;