summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Pig.cpp
diff options
context:
space:
mode:
authorhallucino <d@t0t0.fr>2015-07-16 15:06:54 +0200
committerhallucino <d@t0t0.fr>2015-07-16 22:49:55 +0200
commit9c85ed5864d53057ebde6f756f89b400172e52b5 (patch)
tree2dda40bc792a22b420105e89c2f4d18a49c18fff /src/Mobs/Pig.cpp
parentMerge pull request #2348 from bibo38/customname (diff)
downloadcuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.gz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.bz2
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.lz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.xz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.zst
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.zip
Diffstat (limited to 'src/Mobs/Pig.cpp')
-rw-r--r--src/Mobs/Pig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Pig.cpp b/src/Mobs/Pig.cpp
index efa779ac2..21c8e923a 100644
--- a/src/Mobs/Pig.cpp
+++ b/src/Mobs/Pig.cpp
@@ -108,7 +108,7 @@ bool cPig::DoTakeDamage(TakeDamageInfo & a_TDI)
if (a_TDI.DamageType == dtLightning)
{
Destroy();
- m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtZombiePigman);
+ m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtZombiePigman, false);
return true;
}
return true;