aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2020-07-26 22:32:03 +0200
committerPeter Keresztes Schmidt <carbenium@outlook.com>2020-07-27 13:37:18 +0200
commit480dee3125929181b7004810516ea673c61f5811 (patch)
tree14c6ca0ddf329f306a1c293a6249ab65e8afcb03 /src/server/scripts
parent1d8782e3566393f71fbc091de57c96a9a15972cb (diff)
Core/Creature: Remove non-std::chrono overload of DespawnOrUnsummon
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp2
-rw-r--r--src/server/scripts/Outland/zone_netherstorm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp
index e78cdd74b11..c267e9bfd0f 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp
@@ -1149,7 +1149,7 @@ public:
break;
case RP2_EVENT_MALGANIS_LEAVE2:
if (Creature* malganis = me->FindNearestCreature(NPC_MALGANIS, 80.0f, true))
- malganis->DespawnOrUnsummon(0);
+ malganis->DespawnOrUnsummon();
if (Creature* bunny = me->FindNearestCreature(NPC_MALGANIS_BUNNY, 80.0f, true))
bunny->CastSpell(bunny, SPELL_SHADOWSTEP_VISUAL);
break;
diff --git a/src/server/scripts/Outland/zone_netherstorm.cpp b/src/server/scripts/Outland/zone_netherstorm.cpp
index cb66cb03353..f8b6c565378 100644
--- a/src/server/scripts/Outland/zone_netherstorm.cpp
+++ b/src/server/scripts/Outland/zone_netherstorm.cpp
@@ -503,7 +503,7 @@ class go_captain_tyralius_prison : public GameObjectScript
}
if (Creature* prisoner = me->FindNearestCreature(NPC_ETHEREUM_PRISONER, 1.0f))
- prisoner->DespawnOrUnsummon(0);
+ prisoner->DespawnOrUnsummon();
return true;
}