summaryrefslogtreecommitdiffstats
path: root/source/cMonsterConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cMonsterConfig.cpp')
-rw-r--r--source/cMonsterConfig.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/cMonsterConfig.cpp b/source/cMonsterConfig.cpp
index 7f4389e5f..a0ff9914d 100644
--- a/source/cMonsterConfig.cpp
+++ b/source/cMonsterConfig.cpp
@@ -26,7 +26,6 @@ struct cMonsterConfig::sAttributesStruct
struct cMonsterConfig::sMonsterConfigState
{
- int TypeCount;
AString MonsterTypes;
std::list< sAttributesStruct > AttributesList;
};
@@ -35,10 +34,9 @@ struct cMonsterConfig::sMonsterConfigState
-cMonsterConfig::cMonsterConfig(int TypeC)
+cMonsterConfig::cMonsterConfig(void)
: m_pState( new sMonsterConfigState )
{
- m_pState->TypeCount = TypeC;
Initialize();
}
@@ -114,6 +112,7 @@ void cMonsterConfig::AssignAttributes(cMonster *m, const char* n)
+// _X: WTF?
cMonsterConfig *cMonsterConfig::Get() {
return this;
}