Merge pull request #2885 from SteveWinfield/master
No second spawn broadcast necessary
This commit is contained in:
commit
67cd1b3b41
@ -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