mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
fix bgm starting prematurely in instance cutscenes instead of muting bgm
This commit is contained in:
parent
95d526f4d0
commit
0249138524
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ Sapphire::InstanceContent::onEnterTerritory( Entity::Player& player, uint32_t ev
|
||||||
HIDE_HOTBAR | SILENT_ENTER_TERRI_BGM | SILENT_ENTER_TERRI_SE |
|
HIDE_HOTBAR | SILENT_ENTER_TERRI_BGM | SILENT_ENTER_TERRI_SE |
|
||||||
DISABLE_STEALTH | 0x00100000 | LOCK_HUD | LOCK_HOTBAR |
|
DISABLE_STEALTH | 0x00100000 | LOCK_HUD | LOCK_HOTBAR |
|
||||||
// todo: wtf is 0x00100000
|
// todo: wtf is 0x00100000
|
||||||
DISABLE_CANCEL_EMOTE, 0, 0x9, getCurrentBGM() );
|
DISABLE_CANCEL_EMOTE, 0, 0x9, 0 );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
player.directorPlayScene( getDirectorId(), 2, NO_DEFAULT_CAMERA | HIDE_HOTBAR, 0, 0x9, getCurrentBGM() );
|
player.directorPlayScene( getDirectorId(), 2, NO_DEFAULT_CAMERA | HIDE_HOTBAR, 0, 0x9, getCurrentBGM() );
|
||||||
|
|
Loading…
Add table
Reference in a new issue