Skip to content

Commit

Permalink
Fixed the main menu music not stopping when replaying the intro
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaRain committed Feb 1, 2025
1 parent 7efcf1b commit 38d00f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sfall/Modules/BugFixes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4266,7 +4266,9 @@ void BugFixes::init() {
MakeCall(0x4550C8, op_create_object_sid_hack1);

// Fix to prevent the main menu music from stopping when entering the load game screen
BlockCall(0x480B25);
BlockCall(0x480B25); // block gsound_background_stop_ (gnw_main_)
// Fix for the main menu music not stopping when replaying the intro
SafeWrite8(0x480A58, 4); // "stop music" flag (gnw_main_)

// Fix incorrect value of the limit number of floating messages
SafeWrite8(0x4B039F, 20); // text_object_create_ (was 19)
Expand Down

0 comments on commit 38d00f2

Please sign in to comment.