summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Mooshroom.cpp
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2014-02-27 22:04:48 +0100
committertonibm19 <tonibm19@gmail.com>2014-02-27 22:04:48 +0100
commit1de2c23d648af46a2e00402d0e231678c80311aa (patch)
tree41eee77556d1b502f2d7a8670c1e34887f4d23e0 /src/Mobs/Mooshroom.cpp
parentAPIDump: Added Geometry file to project. (diff)
downloadcuberite-1de2c23d648af46a2e00402d0e231678c80311aa.tar
cuberite-1de2c23d648af46a2e00402d0e231678c80311aa.tar.gz
cuberite-1de2c23d648af46a2e00402d0e231678c80311aa.tar.bz2
cuberite-1de2c23d648af46a2e00402d0e231678c80311aa.tar.lz
cuberite-1de2c23d648af46a2e00402d0e231678c80311aa.tar.xz
cuberite-1de2c23d648af46a2e00402d0e231678c80311aa.tar.zst
cuberite-1de2c23d648af46a2e00402d0e231678c80311aa.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Mooshroom.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/Mooshroom.cpp b/src/Mobs/Mooshroom.cpp
index 8e4c52ae6..81bd3e3b4 100644
--- a/src/Mobs/Mooshroom.cpp
+++ b/src/Mobs/Mooshroom.cpp
@@ -67,6 +67,8 @@ void cMooshroom::OnRightClicked(cPlayer & a_Player)
cItems Drops;
Drops.push_back(cItem(E_BLOCK_RED_MUSHROOM, 5, 0));
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
+ m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), cMonster::mtCow);
+ Destroy();
} break;
}
}