Core/Battleground: fixed possible crash in BattlegroundSA
Closes #11969
This commit is contained in:
1 parent
5caf6aad98
commit
3ff9589c9a
2 files changed
+20
-16
No files matched your search
@@ -1904,6 +1904,7 @@ void GameObject::ModifyHealth(int32 change, Unit* attackerOrHealer /*= NULL*/, u
|
||||
if (newState == GetDestructibleState())
|
||||
return;
|
||||
|
||||
/// @todo: pass attackerOrHealer instead of player
|
||||
SetDestructibleState(newState, player, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user