mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest
(cherry picked from commit 8642aaaf92)
This commit is contained in:
@@ -860,7 +860,7 @@ public:
|
||||
|
||||
if (_big)
|
||||
{
|
||||
if (GameObject* firework = me->SummonGameObject(FireworksBIGOnlyPicker(), rndpos, QuaternionData(0.f, 0.f, rndrot, rndrot2), 300))
|
||||
if (GameObject* firework = me->SummonGameObject(FireworksBIGOnlyPicker(), rndpos, QuaternionData(0.f, 0.f, rndrot, rndrot2), 5min))
|
||||
{
|
||||
firework->SetRespawnTime(0);
|
||||
firework->Delete();
|
||||
@@ -868,7 +868,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GameObject* firework = me->SummonGameObject(FireworksPicker(), rndpos, QuaternionData(0.f, 0.f, rndrot, rndrot2), 300))
|
||||
if (GameObject* firework = me->SummonGameObject(FireworksPicker(), rndpos, QuaternionData(0.f, 0.f, rndrot, rndrot2), 5min))
|
||||
{
|
||||
firework->SetRespawnTime(0);
|
||||
firework->Delete();
|
||||
|
||||
Reference in New Issue
Block a user