diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-16 23:22:42 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-16 23:22:42 +0200 |
commit | 4b99a5bd49f2756f927e173f9c41c48cb4cb553a (patch) | |
tree | 7e9ce8ee6bf8f6eca7f2f4aec2c3abc0dc906a5e /src/Mobs/Pig.cpp | |
parent | Merge pull request #2360 from bibo38/waterfix (diff) | |
parent | Spawn baby mobs (diff) | |
download | cuberite-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/Pig.cpp')
-rw-r--r-- | src/Mobs/Pig.cpp | 2 |
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; |