summaryrefslogtreecommitdiffstats
path: root/source/MonsterConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/MonsterConfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/MonsterConfig.cpp b/source/MonsterConfig.cpp
index 69d639bdb..a5a1ebd49 100644
--- a/source/MonsterConfig.cpp
+++ b/source/MonsterConfig.cpp
@@ -63,10 +63,10 @@ void cMonsterConfig::Initialize()
return;
}
- for (int i = (int)MonstersIniFile.NumKeys(); i >= 0; i--)
+ for (int i = (int)MonstersIniFile.GetNumKeys(); i >= 0; i--)
{
sAttributesStruct Attributes;
- AString Name = MonstersIniFile.KeyName(i);
+ AString Name = MonstersIniFile.GetKeyName(i);
Attributes.m_Name = Name;
Attributes.m_AttackDamage = MonstersIniFile.GetValueF(Name, "AttackDamage", 0);
Attributes.m_AttackRange = MonstersIniFile.GetValueF(Name, "AttackRange", 0);