1
0

Merge pull request #2885 from SteveWinfield/master

No second spawn broadcast necessary
This commit is contained in:
LogicParrot 2016-01-17 12:44:13 +02:00
commit 67cd1b3b41
3 changed files with 0 additions and 3 deletions

View File

@ -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;

View File

@ -50,7 +50,6 @@ bool cGhast::Attack(std::chrono::milliseconds a_Dt)
GhastBall = nullptr;
return false;
}
m_World->BroadcastSpawnEntity(*GhastBall);
ResetAttackCooldown();
return true;
}

View File

@ -68,7 +68,6 @@ bool cSkeleton::Attack(std::chrono::milliseconds a_Dt)
Arrow = nullptr;
return false;
}
m_World->BroadcastSpawnEntity(*Arrow);
ResetAttackCooldown();
return true;