diff --git a/sfall/Modules/BugFixes.cpp b/sfall/Modules/BugFixes.cpp index 3463692c..b4d138d0 100644 --- a/sfall/Modules/BugFixes.cpp +++ b/sfall/Modules/BugFixes.cpp @@ -4557,6 +4557,13 @@ void BugFixes::init() { // 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) + + // Fix potential index out of bounds error in wmMapIdxToName_ engine function + SafeWrite8(0x4BF97A, 0x7E); // jz > jle + SafeWrite8(0x4BF982, 0x7C); // jle > jl + + // Fix for the morning starting at 6:01 instead of 6:00 while traveling on the world map + SafeWrite8(0x4C0765, 0x7C); // jle > jl (wmRndEncounterOccurred_) } }