diff --git a/src/server/game/Pools/PoolMgr.cpp b/src/server/game/Pools/PoolMgr.cpp index f0b0083895e..95a131a5015 100644 --- a/src/server/game/Pools/PoolMgr.cpp +++ b/src/server/game/Pools/PoolMgr.cpp @@ -377,26 +377,14 @@ void PoolGroup::Spawn1Object(PoolObject* obj) sPoolMgr->SpawnPool(obj->guid); } -// Method that does the respawn job on the specified creature -template <> -void PoolGroup::ReSpawn1Object(PoolObject* obj) +// Method that does the respawn job on the specified object +template +void PoolGroup::ReSpawn1Object(PoolObject* obj) { Despawn1Object(obj->guid, false, false); Spawn1Object(obj); } -// Method that does the respawn job on the specified gameobject -template <> -void PoolGroup::ReSpawn1Object(PoolObject* obj) -{ - Despawn1Object(obj->guid, false, false); - Spawn1Object(obj); -} - -// Nothing to do for a child Pool -template <> -void PoolGroup::ReSpawn1Object(PoolObject* /*obj*/) { } - template <> void PoolGroup::RemoveRespawnTimeFromDB(ObjectGuid::LowType guid) {