diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-17 12:40:14 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-17 12:40:14 +0100 |
commit | 71097aa49b7ec3fc258167e528a0c9f37f259c71 (patch) | |
tree | 1fc97c2339345a7c31184b2bda1557d10ef7830f /source/cMonsterConfig.cpp | |
parent | git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6 (diff) | |
download | cuberite-71097aa49b7ec3fc258167e528a0c9f37f259c71.tar cuberite-71097aa49b7ec3fc258167e528a0c9f37f259c71.tar.gz cuberite-71097aa49b7ec3fc258167e528a0c9f37f259c71.tar.bz2 cuberite-71097aa49b7ec3fc258167e528a0c9f37f259c71.tar.lz cuberite-71097aa49b7ec3fc258167e528a0c9f37f259c71.tar.xz cuberite-71097aa49b7ec3fc258167e528a0c9f37f259c71.tar.zst cuberite-71097aa49b7ec3fc258167e528a0c9f37f259c71.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cMonsterConfig.cpp | 5 |
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;
}
|