summaryrefslogtreecommitdiffstats
path: root/source/BlockID.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/BlockID.cpp')
-rw-r--r--source/BlockID.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index 95e1a63bf..2e957593b 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -42,8 +42,8 @@ class cBlockIDMap
public:
cBlockIDMap(void)
{
- cIniFile Ini("items.ini");
- if (!Ini.ReadFile())
+ cIniFile Ini;
+ if (!Ini.ReadFile("items.ini"))
{
return;
}