1
0
Fork 0

added mooshroom to cow conversion

This commit is contained in:
tonibm19 2014-02-27 22:04:48 +01:00
parent da75907942
commit 1de2c23d64
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}