Skip to content

Commit

Permalink
Fixed double click sound when selecting a location in pipboy status
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaRain committed Feb 21, 2025
1 parent 5c847b6 commit d8a1b94
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 @@ -3567,6 +3567,8 @@ void BugFixes::init() {
HookCall(0x497E9F, PipStatus_hook);
SafeWrite16(0x497E8C, 0xD389); // mov ebx, edx
SafeWrite32(0x497E8E, 0x90909090);
// Fix for double click sound when selecting a location in the Status section
BlockCall(0x497F52); // block gsound_play_sfx_file_ (PipStatus_)

// Fix for "Too Many Items" bug
// http://fforum.kochegarov.com/index.php?showtopic=29288&view=findpost&p=332242
Expand Down Expand Up @@ -4342,7 +4344,7 @@ void BugFixes::init() {
SafeWrite8(0x4787A2, 0x8D); // jz > jge (item_w_try_reload_)
SafeWrite8(0x45F5BD, 0x7E); // jz > jle (intface_toggle_item_state_)

// Fix for the incorrect message when attempting to repair dead robots
// Fix for the incorrect message being displayed when attempting to repair a dead robot
SafeWrite32(0x4AB1BE, 601); // skill_use_ (was 1101 in skill.msg)
}

Expand Down

0 comments on commit d8a1b94

Please sign in to comment.