summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Villager.cpp
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/Mobs/Villager.cpp
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/Mobs/Villager.cpp')
-rw-r--r--src/Mobs/Villager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Villager.cpp b/src/Mobs/Villager.cpp
index e4953d546..9239575d0 100644
--- a/src/Mobs/Villager.cpp
+++ b/src/Mobs/Villager.cpp
@@ -41,7 +41,7 @@ bool cVillager::DoTakeDamage(TakeDamageInfo & a_TDI)
if (a_TDI.DamageType == dtLightning)
{
Destroy();
- m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtWitch);
+ m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtWitch, false);
return true;
}
return true;