diff options
author | madmaxoft <github@xoft.cz> | 2013-10-25 11:15:44 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-25 11:15:44 +0200 |
commit | 9e9198e0907d3d6fd353c683478007f418d86dd8 (patch) | |
tree | 9dd53b8f34532b135ae199e47a0e9e59d77a76f4 /source/MonsterConfig.cpp | |
parent | APIDump: Documented cMonster. (diff) | |
download | cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.gz cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.bz2 cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.lz cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.xz cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.zst cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.zip |
Diffstat (limited to '')
-rw-r--r-- | source/MonsterConfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/MonsterConfig.cpp b/source/MonsterConfig.cpp index 37c7431b0..69d639bdb 100644 --- a/source/MonsterConfig.cpp +++ b/source/MonsterConfig.cpp @@ -55,9 +55,9 @@ cMonsterConfig::~cMonsterConfig() void cMonsterConfig::Initialize() { - cIniFile MonstersIniFile("monsters.ini"); + cIniFile MonstersIniFile; - if (!MonstersIniFile.ReadFile()) + if (!MonstersIniFile.ReadFile("monsters.ini")) { LOGWARNING("%s: Cannot read monsters.ini file, monster attributes not available", __FUNCTION__); return; |