No second spawn broadcast necessary
This commit is contained in:
parent
c177a528e5
commit
d7bc866c7c
@ -50,7 +50,6 @@ bool cBlaze::Attack(std::chrono::milliseconds a_Dt)
|
||||
FireCharge = nullptr;
|
||||
return false;
|
||||
}
|
||||
m_World->BroadcastSpawnEntity(*FireCharge);
|
||||
ResetAttackCooldown();
|
||||
// ToDo: Shoot 3 fireballs instead of 1.
|
||||
return true;
|
||||
|
@ -50,7 +50,6 @@ bool cGhast::Attack(std::chrono::milliseconds a_Dt)
|
||||
GhastBall = nullptr;
|
||||
return false;
|
||||
}
|
||||
m_World->BroadcastSpawnEntity(*GhastBall);
|
||||
ResetAttackCooldown();
|
||||
return true;
|
||||
}
|
||||
|
@ -68,7 +68,6 @@ bool cSkeleton::Attack(std::chrono::milliseconds a_Dt)
|
||||
Arrow = nullptr;
|
||||
return false;
|
||||
}
|
||||
m_World->BroadcastSpawnEntity(*Arrow);
|
||||
ResetAttackCooldown();
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user