Core/Object: Codestyle improvements
This commit is contained in:
1 parent
eeb72994ba
commit
09a6516367
1 file changed
+1
-4
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user