Core/Object: Codestyle improvements

This commit is contained in:
Kittnz committed 2016-01-12 22:43:48 +01:00
1 parent eeb72994ba
commit 09a6516367
1 file changed
+1 -4
+1 -4
View File
@@ -2427,10 +2427,7 @@ void WorldObject::DestroyForNearbyPlayers()
continue;
if (GetTypeId() == TYPEID_UNIT)
{
// at remove from world (destroy) show kill animation
DestroyForPlayer(player, ToUnit()->IsDuringRemoveFromWorld() && ToCreature()->isDead());
}
DestroyForPlayer(player, ToUnit()->IsDuringRemoveFromWorld() && ToCreature()->isDead()); // at remove from world (destroy) show kill animation
else
DestroyForPlayer(player);