Fixed double click sound when selecting a location in pipboy status

(ref. alexbatalov/fallout2-ce#462)
This commit is contained in:
NovaRain
2025-02-21 11:15:03 +08:00
parent 03cc1f8ae4
commit 7e95e1b405
+3 -1
View File
@@ -3558,6 +3558,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
@@ -4353,7 +4355,7 @@ void BugFixes::init() {
SafeWrite8(0x4787A2, 0x8D); // jz > jge (item_w_try_reload_)
SafeWrite8(0x45F5BD, 0x7E); // jz > jle (intface_toggle_item_state_)
// Fix 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)
}