diff options
author | Carbenium <carbenium@outlook.com> | 2020-07-26 20:44:07 +0200 |
---|---|---|
committer | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-27 14:53:25 +0200 |
commit | a41f599be72ccc88b13c1cf725f20cee4a5335d7 (patch) | |
tree | b3f54c2070b531fc9fc778ae79deeeed2b83318e /src/server/game/AI/CreatureAI.cpp | |
parent | 36ef487a90d0d14c4da8ce7e19b5916b8b15056c (diff) |
Core/WorldObject: Remove non-std::chrono SummonCreature overload
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index a044d00c0ef..a3c469a2686 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -436,18 +436,18 @@ void CreatureAI::SetBoundary(CreatureBoundary const* boundary, bool negateBounda Creature* CreatureAI::DoSummon(uint32 entry, Position const& pos, uint32 despawnTime, TempSummonType summonType) { - return me->SummonCreature(entry, pos, summonType, despawnTime); + return me->SummonCreature(entry, pos, summonType, Milliseconds(despawnTime)); } Creature* CreatureAI::DoSummon(uint32 entry, WorldObject* obj, float radius, uint32 despawnTime, TempSummonType summonType) { Position pos = obj->GetRandomNearPosition(radius); - return me->SummonCreature(entry, pos, summonType, despawnTime); + return me->SummonCreature(entry, pos, summonType, Milliseconds(despawnTime)); } Creature* CreatureAI::DoSummonFlyer(uint32 entry, WorldObject* obj, float flightZ, float radius, uint32 despawnTime, TempSummonType summonType) { Position pos = obj->GetRandomNearPosition(radius); pos.m_positionZ += flightZ; - return me->SummonCreature(entry, pos, summonType, despawnTime); + return me->SummonCreature(entry, pos, summonType, Milliseconds(despawnTime)); } |