File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -377,26 +377,14 @@ void PoolGroup<Pool>::Spawn1Object(PoolObject* obj)
377
377
sPoolMgr ->SpawnPool (obj->guid );
378
378
}
379
379
380
- // Method that does the respawn job on the specified creature
381
- template <>
382
- void PoolGroup<Creature >::ReSpawn1Object(PoolObject* obj)
380
+ // Method that does the respawn job on the specified object
381
+ template <typename T >
382
+ void PoolGroup<T >::ReSpawn1Object(PoolObject* obj)
383
383
{
384
384
Despawn1Object (obj->guid , false , false );
385
385
Spawn1Object (obj);
386
386
}
387
387
388
- // Method that does the respawn job on the specified gameobject
389
- template <>
390
- void PoolGroup<GameObject>::ReSpawn1Object(PoolObject* obj)
391
- {
392
- Despawn1Object (obj->guid , false , false );
393
- Spawn1Object (obj);
394
- }
395
-
396
- // Nothing to do for a child Pool
397
- template <>
398
- void PoolGroup<Pool>::ReSpawn1Object(PoolObject* /* obj*/ ) { }
399
-
400
388
template <>
401
389
void PoolGroup<Creature>::RemoveRespawnTimeFromDB(ObjectGuid::LowType guid)
402
390
{
You can’t perform that action at this time.
0 commit comments