diff options
Diffstat (limited to 'src/Mobs/ZombiePigman.cpp')
-rw-r--r-- | src/Mobs/ZombiePigman.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/Mobs/ZombiePigman.cpp b/src/Mobs/ZombiePigman.cpp index 60d5ab9f1..755f585ab 100644 --- a/src/Mobs/ZombiePigman.cpp +++ b/src/Mobs/ZombiePigman.cpp @@ -38,16 +38,6 @@ void cZombiePigman::GetDrops(cItems & a_Drops, cEntity * a_Killer) -void cZombiePigman::SpawnOn(cClientHandle & a_ClientHandle) -{ - Super::SpawnOn(a_ClientHandle); - a_ClientHandle.SendEntityEquipment(*this, 0, cItem(E_ITEM_GOLD_SWORD)); -} - - - - - void cZombiePigman::KilledBy(TakeDamageInfo & a_TDI) { Super::KilledBy(a_TDI); @@ -62,3 +52,9 @@ void cZombiePigman::KilledBy(TakeDamageInfo & a_TDI) + +void cZombiePigman::SpawnOn(cClientHandle & a_ClientHandle) +{ + Super::SpawnOn(a_ClientHandle); + a_ClientHandle.SendEntityEquipment(*this, 0, cItem(E_ITEM_GOLD_SWORD)); +} |