Fix crash when using a pool template with an entry > 65535, fixes issue #3632
--HG-- branch : trunk
This commit is contained in:
@@ -1604,7 +1604,7 @@ void Creature::Respawn(bool force)
|
||||
if (IsAIEnabled)
|
||||
AI()->JustRespawned();
|
||||
|
||||
uint16 poolid = GetDBTableGUIDLow() ? sPoolMgr.IsPartOfAPool<Creature>(GetDBTableGUIDLow()) : 0;
|
||||
uint32 poolid = GetDBTableGUIDLow() ? sPoolMgr.IsPartOfAPool<Creature>(GetDBTableGUIDLow()) : 0;
|
||||
if (poolid)
|
||||
sPoolMgr.UpdatePool<Creature>(poolid, GetDBTableGUIDLow());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user