summaryrefslogtreecommitdiffstats
path: root/src/Blocks/WorldInterface.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-07-16 23:22:42 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-07-16 23:22:42 +0200
commit4b99a5bd49f2756f927e173f9c41c48cb4cb553a (patch)
tree7e9ce8ee6bf8f6eca7f2f4aec2c3abc0dc906a5e /src/Blocks/WorldInterface.h
parentMerge pull request #2360 from bibo38/waterfix (diff)
parentSpawn baby mobs (diff)
downloadcuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar
cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.gz
cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.bz2
cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.lz
cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.xz
cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.zst
cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.zip
Diffstat (limited to 'src/Blocks/WorldInterface.h')
-rw-r--r--src/Blocks/WorldInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h
index 826df7034..ede0837a4 100644
--- a/src/Blocks/WorldInterface.h
+++ b/src/Blocks/WorldInterface.h
@@ -35,7 +35,7 @@ public:
/** Spawns a mob of the specified type.
Returns the mob's UniqueID if recognized and spawned, or cEntity::INVALID_ID on failure. */
- virtual UInt32 SpawnMob(double a_PosX, double a_PosY, double a_PosZ, eMonsterType a_MonsterType) = 0;
+ virtual UInt32 SpawnMob(double a_PosX, double a_PosY, double a_PosZ, eMonsterType a_MonsterType, bool a_Baby) = 0;
/** Spawns an experience orb at the given location with the given reward.
Returns the UniqueID of the spawned experience orb, or cEntity::INVALID_ID on failure. */