aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <Killyana@users.noreply.github.com>2019-03-02 15:05:28 +0100
committerShauren <shauren.trinity@gmail.com>2021-11-24 20:34:56 +0100
commitb0f10b505e30992942cce9a9b1fb395009344dfd (patch)
tree67a38312ab808c51cd531ab46be0da4de8b6a5d1
parent956158d299b3264f883f49ac647154179182fbea (diff)
Core/GameObject: Set loot state to Not ready when a gob is deactivated (#23072)
(cherry picked from commit 8dec9b97e211d9b9d5153a3f0d19097bae6fdeff)
-rw-r--r--src/server/game/Entities/GameObject/GameObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp
index 3347a2e6c7f..b3518b8f5e4 100644
--- a/src/server/game/Entities/GameObject/GameObject.cpp
+++ b/src/server/game/Entities/GameObject/GameObject.cpp
@@ -905,7 +905,7 @@ void GameObject::Update(uint32 diff)
return;
}
- SetLootState(GO_READY);
+ SetLootState(GO_NOT_READY);
//burning flags in some battlegrounds, if you find better condition, just add it
if (GetGOInfo()->IsDespawnAtAction() || GetGoAnimProgress() > 0)