mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix illegal array access in imp gear selection (#104)
This commit is contained in:
+1
-1
@@ -1229,7 +1229,7 @@ void RenderImpGearSelectionChoices(UINT32 pocket)
|
|||||||
|
|
||||||
wcscat(tooltipText, L"\n");
|
wcscat(tooltipText, L"\n");
|
||||||
wcscat(tooltipText, szIMPGearPocketText[55]);
|
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
|
// Check if currently selected item is shown in pool and adjust glow coordinates
|
||||||
|
|||||||
Reference in New Issue
Block a user