diff options
author | Bendegúz Nagy | 2016-08-16 09:39:35 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | b5eb075a66a1f064fe8f8479c63bd99a518b1da4 (patch) | |
tree | 22666fc605871a817fcbfc11dd502d8811ccf771 /engines/dm/inventory.cpp | |
parent | aacbcc07570a800612ae00008276da1bff2a50a6 (diff) | |
download | scummvm-rg350-b5eb075a66a1f064fe8f8479c63bd99a518b1da4.tar.gz scummvm-rg350-b5eb075a66a1f064fe8f8479c63bd99a518b1da4.tar.bz2 scummvm-rg350-b5eb075a66a1f064fe8f8479c63bd99a518b1da4.zip |
DM: Fix wrong global initialized in InventoryMan::initConstants()
Diffstat (limited to 'engines/dm/inventory.cpp')
-rw-r--r-- | engines/dm/inventory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/inventory.cpp b/engines/dm/inventory.cpp index f393427930..bbc451daee 100644 --- a/engines/dm/inventory.cpp +++ b/engines/dm/inventory.cpp @@ -44,7 +44,7 @@ Box g35_BoxFood = Box(112, 159, 60, 68); // @ G0035_s_Graphic562_Box_Food Box g36_BoxWater = Box(112, 159, 83, 91); // @ G0036_s_Graphic562_Box_Water Box g37_BoxPoisoned = Box(112, 207, 105, 119); // @ G0037_s_Graphic562_Box_Poisoned -char* G0428_apc_SkillLevelNames[15]; +const char* G0428_apc_SkillLevelNames[15]; void InventoryMan::initConstants() { { @@ -62,7 +62,7 @@ void InventoryMan::initConstants() { case Common::FR_FRA: g428_byLanguage = G0428_apc_SkillLevelNames_FR_FRA; break; } for (int i = 0; i < 15; ++i) - g417_baseSkillName[i] = g428_byLanguage[i]; + G0428_apc_SkillLevelNames[i] = g428_byLanguage[i]; } } |