mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
hooks_music works again
This commit is contained in:
parent
c3da6e5cc2
commit
17ddb6dadb
@ -65,7 +65,7 @@ int musfadeval = 2000;
|
|||||||
|
|
||||||
eLand cid = laNone;
|
eLand cid = laNone;
|
||||||
|
|
||||||
hookset<bool(eLand)> *hooks_music;
|
hookset<bool(eLand&)> *hooks_music;
|
||||||
|
|
||||||
void handlemusic() {
|
void handlemusic() {
|
||||||
DEBB(DF_GRAPH, (debugfile,"handle music\n"));
|
DEBB(DF_GRAPH, (debugfile,"handle music\n"));
|
||||||
@ -102,6 +102,7 @@ void handlemusic() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hookset<bool(eLand&)> *hooks_resetmusic;
|
||||||
|
|
||||||
void resetmusic() {
|
void resetmusic() {
|
||||||
if(audio && musicvolume) {
|
if(audio && musicvolume) {
|
||||||
|
Loading…
Reference in New Issue
Block a user