aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp
index 9afe4aa35f7..9bc9b1d44e0 100644
--- a/src/game/GameObject.cpp
+++ b/src/game/GameObject.cpp
@@ -490,6 +490,7 @@ void GameObject::AddUniqueUse(Player* player)
void GameObject::Delete()
{
+ assert (!GetOwnerGUID());
SendObjectDeSpawnAnim(GetGUID());
SetGoState(GO_STATE_READY);