aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2024-01-05 17:56:19 +0100
committerGitHub <noreply@github.com>2024-01-05 17:56:19 +0100
commit12186ef8573f60abeff4747da58767ee71092600 (patch)
tree7d9a1da93e86fa3ccd84c02658bface3ef536721 /src/server/scripts/EasternKingdoms
parent390f0be9fb22766638006f43e4d0887108ba49e8 (diff)
Core/Waypoints: Refactor to split data into path and node related info in db (#29506)
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/blackrock_caverns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/blackrock_caverns.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/blackrock_caverns.cpp
index e9f53d68c92..40d5d9d5cee 100644
--- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/blackrock_caverns.cpp
+++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/blackrock_caverns.cpp
@@ -256,7 +256,7 @@ class npc_twilight_torturer : public CreatureScript
void Reset() override
{
Initialize();
- if (!me->GetWaypointPath())
+ if (!me->GetWaypointPathId())
_events.ScheduleEvent(EVENT_INFLICT_PAIN_TT, 6s, 18s);
}
@@ -356,7 +356,7 @@ class npc_twilight_sadist : public CreatureScript
void Reset() override
{
_combatPhase = false;
- if (!me->GetWaypointPath())
+ if (!me->GetWaypointPathId())
_events.ScheduleEvent(EVENT_INFLICT_PAIN_TS, 6s, 18s);
}