Using Super.
This commit is contained in:
committed by
Alexander Harkness
parent
f931590bf0
commit
9ee47e5999
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
cCow::cCow(void) :
|
||||
super("Cow", mtCow, "entity.cow.hurt", "entity.cow.death", "entity.cow.ambient", 0.9, 1.3)
|
||||
Super("Cow", mtCow, "entity.cow.hurt", "entity.cow.death", "entity.cow.ambient", 0.9, 1.3)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ void cCow::GetDrops(cItems & a_Drops, cEntity * a_Killer)
|
||||
|
||||
void cCow::OnRightClicked(cPlayer & a_Player)
|
||||
{
|
||||
super::OnRightClicked(a_Player);
|
||||
Super::OnRightClicked(a_Player);
|
||||
|
||||
short HeldItem = a_Player.GetEquippedItem().m_ItemType;
|
||||
if (HeldItem == E_ITEM_BUCKET)
|
||||
|
||||
Reference in New Issue
Block a user