diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-09-29 22:01:40 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-09-29 22:56:35 +0200 |
| commit | 5ef99978c03eb5cc7d40c1f1a1cc4e5c78f8ea27 (patch) | |
| tree | 230d706c5738136329af74047f8e874c214ccce9 /src/server/scripts/Northrend | |
| parent | bc7be2a08438a1d327586d4a57d4e99944b86418 (diff) | |
Core/Misc: Reduce differences between branches
Diffstat (limited to 'src/server/scripts/Northrend')
| -rw-r--r-- | src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp b/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp index df5e4641552..5953458f119 100644 --- a/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp +++ b/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp @@ -170,13 +170,13 @@ class spell_ioc_parachute_ic : public AuraScript class StartLaunchEvent : public BasicEvent { public: - StartLaunchEvent(Position const& pos, ObjectGuid::LowType lowGuid) : _pos(pos), _lowGuid(lowGuid) + StartLaunchEvent(Position const& pos, ObjectGuid const& guid) : _pos(pos), _guid(guid) { } bool Execute(uint64 /*time*/, uint32 /*diff*/) override { - Player* player = ObjectAccessor::FindPlayerByLowGUID(_lowGuid); + Player* player = ObjectAccessor::FindPlayer(_guid); if (!player || !player->GetVehicle()) return true; @@ -191,7 +191,7 @@ class StartLaunchEvent : public BasicEvent private: Position _pos; - ObjectGuid::LowType _lowGuid; + ObjectGuid _guid; }; // 66218 - Launch @@ -204,7 +204,7 @@ class spell_ioc_launch : public SpellScript if (!GetCaster()->ToCreature() || !GetExplTargetDest()) return; - GetCaster()->ToCreature()->m_Events.AddEvent(new StartLaunchEvent(*GetExplTargetDest(), ASSERT_NOTNULL(GetHitPlayer())->GetGUID().GetCounter()), GetCaster()->ToCreature()->m_Events.CalculateTime(2500ms)); + GetCaster()->ToCreature()->m_Events.AddEvent(new StartLaunchEvent(*GetExplTargetDest(), ASSERT_NOTNULL(GetHitPlayer())->GetGUID()), GetCaster()->ToCreature()->m_Events.CalculateTime(2500ms)); } void Register() override |
