@@ -6,7 +6,7 @@
|
||||
|
||||
BossMob::BossMob(Level *level) : Mob( level )
|
||||
{
|
||||
|
||||
|
||||
maxHealth = 100;
|
||||
|
||||
// 4J Stu - This function call had to be moved here from the Entity ctor to ensure that the derived version of the function is called
|
||||
@@ -18,7 +18,7 @@ int BossMob::getMaxHealth()
|
||||
return maxHealth;
|
||||
}
|
||||
|
||||
bool BossMob::hurt(std::shared_ptr<BossMobPart> bossMobPart, DamageSource *source, int damage)
|
||||
bool BossMob::hurt(shared_ptr<BossMobPart> bossMobPart, DamageSource *source, int damage)
|
||||
{
|
||||
return hurt(source, damage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user