diff options
author | Paul Gilbert | 2018-05-27 19:56:41 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-05-27 19:56:41 -0400 |
commit | 23f3f171df73fc996f3825680e545d44e34f7692 (patch) | |
tree | 937d060e4ed8a59521e9c5a3c0620eba80a5600a /engines/xeen/dialogs | |
parent | 881c94636162fc56ea9f409bce6390e959bbd6a1 (diff) | |
download | scummvm-rg350-23f3f171df73fc996f3825680e545d44e34f7692.tar.gz scummvm-rg350-23f3f171df73fc996f3825680e545d44e34f7692.tar.bz2 scummvm-rg350-23f3f171df73fc996f3825680e545d44e34f7692.zip |
XEEN: Fix close-up objects placement, incorrect skill text in Create Char dialog
Diffstat (limited to 'engines/xeen/dialogs')
-rw-r--r-- | engines/xeen/dialogs/dialogs_create_char.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/xeen/dialogs/dialogs_create_char.cpp b/engines/xeen/dialogs/dialogs_create_char.cpp index 9f3e2a51f1..ab86c4939a 100644 --- a/engines/xeen/dialogs/dialogs_create_char.cpp +++ b/engines/xeen/dialogs/dialogs_create_char.cpp @@ -389,7 +389,8 @@ int CreateCharacterDialog::newCharDetails(Race race, Sex sex, int classId, // Set up default skill for the race, if any if (Res.NEW_CHAR_RACE_SKILLS[race] != -1) { - raceSkillStr = Res.SKILL_NAMES[Res.NEW_CHAR_RACE_SKILLS[race]]; + const char *skillP = Res.SKILL_NAMES[Res.NEW_CHAR_RACE_SKILLS[race]]; + raceSkillStr = Common::String(skillP + Res.NEW_CHAR_SKILLS_OFFSET[race]); } // Set up color to use for each skill string to be displayed, based |