summaryrefslogtreecommitdiffstats
path: root/src/MobSpawner.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-07-21 12:06:21 +0200
committerGitHub <noreply@github.com>2017-07-21 12:06:21 +0200
commit895987a1112100a209b345eab002366fee39d7aa (patch)
tree3e6db769934b8648324bc05eac6bc6427b110bbc /src/MobSpawner.h
parentBreak the cactus block when it grows next to a block. (#3851) (diff)
downloadcuberite-895987a1112100a209b345eab002366fee39d7aa.tar
cuberite-895987a1112100a209b345eab002366fee39d7aa.tar.gz
cuberite-895987a1112100a209b345eab002366fee39d7aa.tar.bz2
cuberite-895987a1112100a209b345eab002366fee39d7aa.tar.lz
cuberite-895987a1112100a209b345eab002366fee39d7aa.tar.xz
cuberite-895987a1112100a209b345eab002366fee39d7aa.tar.zst
cuberite-895987a1112100a209b345eab002366fee39d7aa.zip
Diffstat (limited to '')
-rw-r--r--src/MobSpawner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MobSpawner.h b/src/MobSpawner.h
index dd5b64fba..5802a2b1c 100644
--- a/src/MobSpawner.h
+++ b/src/MobSpawner.h
@@ -58,13 +58,13 @@ protected :
eMonsterType ChooseMobType(EMCSBiome a_Biome);
/** Adds toAdd into toAddIn, if toAdd is in m_AllowedTypes */
- void addIfAllowed(eMonsterType toAdd, std::set<eMonsterType> & toAddIn);
+ void addIfAllowed(eMonsterType toAdd, std::vector<eMonsterType> & toAddIn);
cMonster::eFamily m_MonsterFamily;
std::set<eMonsterType> m_AllowedTypes;
bool m_NewPack;
eMonsterType m_MobType;
- std::set<cMonster*> m_Spawned;
+ std::set<cMonster *> m_Spawned;
} ;