From 3a9dcc19459c04b2aa880b7bcc4699afa3fe7aa7 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Mon, 26 May 2025 21:44:28 +0800 Subject: [PATCH] Fixed slightly misaligned buttons in the character screen (ref. fallout2-ce/fallout2-ce#154) --- sfall/Modules/BugFixes.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sfall/Modules/BugFixes.cpp b/sfall/Modules/BugFixes.cpp index c17256d4..a52c9126 100644 --- a/sfall/Modules/BugFixes.cpp +++ b/sfall/Modules/BugFixes.cpp @@ -3677,6 +3677,11 @@ void BugFixes::init() { SafeWrite32(0x4974E0, 340); // initial y offset (was 341) MakeCall(0x49753C, StartPipboy_hack, 1); + // Fix for slightly misaligned buttons in the character screen + SafeWrite32(0x4339BE, 344); // options/print button (was 343) + SafeWrite32(0x433A16, 553); // cancel button (was 552) + SafeWrite32(0x433A61, 456); // done button (was 455) + // Fix for "Too Many Items" bug // http://fforum.kochegarov.com/index.php?showtopic=29288&view=findpost&p=332242 //if (IniReader::GetConfigInt("Misc", "TooManyItemsBugFix", 1)) {