aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-18 06:54:49 +0100
committern0n4m3 <none@none>2009-12-18 06:54:49 +0100
commit304f59f2bb18439addc3da1471fae8d6dacbb8b2 (patch)
treedd0244de98513ac119959e4e5574ecc5ca7f69fd /src/game/Creature.cpp
parent6da2105aa9992af48b359c3c3f21d105f4f9cb9b (diff)
[8667] Correctly respawn pooled object in case the same object is selected for respawn
[8701] Fixes and inprovements in pool system. thx Frankir --HG-- branch : trunk
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();