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;
|
FireCharge = nullptr;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
m_World->BroadcastSpawnEntity(*FireCharge);
|
|
||||||
ResetAttackCooldown();
|
ResetAttackCooldown();
|
||||||
// ToDo: Shoot 3 fireballs instead of 1.
|
// ToDo: Shoot 3 fireballs instead of 1.
|
||||||
return true;
|
return true;
|
||||||
|
@ -50,7 +50,6 @@ bool cGhast::Attack(std::chrono::milliseconds a_Dt)
|
|||||||
GhastBall = nullptr;
|
GhastBall = nullptr;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
m_World->BroadcastSpawnEntity(*GhastBall);
|
|
||||||
ResetAttackCooldown();
|
ResetAttackCooldown();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,6 @@ bool cSkeleton::Attack(std::chrono::milliseconds a_Dt)
|
|||||||
Arrow = nullptr;
|
Arrow = nullptr;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
m_World->BroadcastSpawnEntity(*Arrow);
|
|
||||||
ResetAttackCooldown();
|
ResetAttackCooldown();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user