aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index de1f3e76fa9..72a4449d5a5 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -1904,7 +1904,7 @@ void Creature::Respawn(bool force)
uint16 poolid = poolhandler.IsPartOfAPool(GetGUIDLow(), GetTypeId());
if (poolid)
- poolhandler.UpdatePool(poolid, GetGUIDLow(), GetTypeId());
+ poolhandler.UpdatePool(poolid, GetGUIDLow(), TYPEID_UNIT);
}
SetToNotify();