diff options
author | tonibm19 <tonibm19@gmail.com> | 2014-02-27 22:04:48 +0100 |
---|---|---|
committer | tonibm19 <tonibm19@gmail.com> | 2014-02-27 22:04:48 +0100 |
commit | 1de2c23d648af46a2e00402d0e231678c80311aa (patch) | |
tree | 41eee77556d1b502f2d7a8670c1e34887f4d23e0 /src/Mobs/Mooshroom.cpp | |
parent | APIDump: Added Geometry file to project. (diff) | |
download | cuberite-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 'src/Mobs/Mooshroom.cpp')
-rw-r--r-- | src/Mobs/Mooshroom.cpp | 2 |
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; } } |