diff --git a/sfall/Modules/BugFixes.cpp b/sfall/Modules/BugFixes.cpp index ff5491c6..73e1654f 100644 --- a/sfall/Modules/BugFixes.cpp +++ b/sfall/Modules/BugFixes.cpp @@ -2045,7 +2045,7 @@ static __declspec(naked) void ai_retrieve_object_hook() { __asm { mov retrievePtr, 1; mov edx, ebx; // object ptr - call fo::funcoffs::inven_find_id_; // check prt (fix behavior) + call fo::funcoffs::inven_find_id_; // check ptr (fix behavior) mov retrievePtr, 0; test eax, eax; jz tryFindId; @@ -4553,6 +4553,10 @@ void BugFixes::init() { // Fix crash when calling proto_data with an invalid data member value HookCall(0x458DBA, op_proto_data_hook); + + // Fix for minor visual glitch when selecting perks that modify SPECIAL stats + const DWORD printStatBufWidthAddr[] = {0x434C76, 0x434D2A, 0x434E00, 0x434EB5}; + SafeWriteBatch(65, printStatBufWidthAddr); // PrintBasicStat_ (was 40) } }