From 4eef9e6fa3f1f4736ddfbde90962bffd92bef5e4 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:39:12 +0200 Subject: [PATCH] Fix illegall array access in imp gear selection --- Laptop/IMP Gear.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Laptop/IMP Gear.cpp b/Laptop/IMP Gear.cpp index a278e2eb0f..e8da0ada38 100644 --- a/Laptop/IMP Gear.cpp +++ b/Laptop/IMP Gear.cpp @@ -1229,7 +1229,7 @@ void RenderImpGearSelectionChoices(UINT32 pocket) wcscat(tooltipText, L"\n"); wcscat(tooltipText, szIMPGearPocketText[55]); - SetRegionFastHelpText(&gIMPGearInvPoolRegion[i], tooltipText); + SetRegionFastHelpText(&gIMPGearInvPoolRegion[i - pageShift], tooltipText); } // Check if currently selected item is shown in pool and adjust glow coordinates