added mooshroom to cow conversion
This commit is contained in:
parent
da75907942
commit
1de2c23d64
@ -67,6 +67,8 @@ void cMooshroom::OnRightClicked(cPlayer & a_Player)
|
|||||||
cItems Drops;
|
cItems Drops;
|
||||||
Drops.push_back(cItem(E_BLOCK_RED_MUSHROOM, 5, 0));
|
Drops.push_back(cItem(E_BLOCK_RED_MUSHROOM, 5, 0));
|
||||||
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
|
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
|
||||||
|
m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), cMonster::mtCow);
|
||||||
|
Destroy();
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user