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

animation menu

This commit is contained in:
Zeno Rogue
2018-09-10 17:58:36 +02:00
parent a1fe4333d5
commit 6f2deeafcc
6 changed files with 418 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ string musfname[landtypes];
int musicvolume = 60, effvolume = 60;
eLand getCurrentLandForMusic() {
eLand id = cwt.at->land;
eLand id = ((anims::center_music()) && centerover.at) ? centerover.at->land : cwt.at->land;
if(isHaunted(id)) id = laHaunted;
if(id == laWarpSea) id = laWarpCoast;
return id;