From 08982d92e7eefd61afb6c4dedaa6b0efa5979086 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Sun, 25 Dec 2022 17:10:46 +0200 Subject: [PATCH] Fix illegal array access (#53) Array length was too small when using old skill trait system. --- Laptop/IMP Skill Trait.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Laptop/IMP Skill Trait.cpp b/Laptop/IMP Skill Trait.cpp index 080f23e3..5da446bb 100644 --- a/Laptop/IMP Skill Trait.cpp +++ b/Laptop/IMP Skill Trait.cpp @@ -146,7 +146,7 @@ void HandleLastSelectedTraits( INT8 bNewTrait ); INT8 GetLastSelectedSkill( void ); BOOLEAN CameBackToSpecialtiesPageButNotFinished(); -MOUSE_REGION gMR_SkillTraitHelpTextRegions[IMP_SKILL_TRAITS_NEW_NUMBER_MAJOR_SKILLS]; +MOUSE_REGION gMR_SkillTraitHelpTextRegions[IMP_SKILL_TRAITS__NUMBER_SKILLS]; //ppp //*******************************************************************