diff options
| author | Treeston <treeston.mmoc@gmail.com> | 2019-07-15 15:57:04 +0200 |
|---|---|---|
| committer | Treeston <treeston.mmoc@gmail.com> | 2019-07-15 15:57:04 +0200 |
| commit | 26440857c1a74031ea0a0234ca0b0fcb09b6bcb0 (patch) | |
| tree | c3beb257b8f11077d581055f0cae624353dafe91 /src/server/game/Pools/PoolMgr.cpp | |
| parent | f46644c92585c5bccc612363d1b8aae5d0667960 (diff) | |
Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme prejudice. (It didn't work anyway.)
Diffstat (limited to 'src/server/game/Pools/PoolMgr.cpp')
| -rw-r--r-- | src/server/game/Pools/PoolMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Pools/PoolMgr.cpp b/src/server/game/Pools/PoolMgr.cpp index 4d4a30b391b..9ed22889d2e 100644 --- a/src/server/game/Pools/PoolMgr.cpp +++ b/src/server/game/Pools/PoolMgr.cpp @@ -204,7 +204,7 @@ void PoolGroup<Creature>::Despawn1Object(ObjectGuid::LowType guid) ++itr; // For dynamic spawns, save respawn time here if (!creature->GetRespawnCompatibilityMode()) - creature->SaveRespawnTime(0, false); + creature->SaveRespawnTime(); creature->AddObjectToRemoveList(); } } @@ -230,7 +230,7 @@ void PoolGroup<GameObject>::Despawn1Object(ObjectGuid::LowType guid) // For dynamic spawns, save respawn time here if (!go->GetRespawnCompatibilityMode()) - go->SaveRespawnTime(0, false); + go->SaveRespawnTime(); go->AddObjectToRemoveList(); } } |
