From 3f6f683ce4b5f4a95a2d70921de2c80de6b3a8fe Mon Sep 17 00:00:00 2001 From: ModoX Date: Fri, 24 Nov 2023 21:08:00 +0100 Subject: Core/Waypoints: Drop waypoint_scripts table (#29437) --- src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/server/game/AI/ScriptedAI') diff --git a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp index c12c1b8c1f2..ecc44114f85 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -272,8 +272,6 @@ void EscortAI::AddWaypoint(uint32 id, float x, float y, float z, float orientati waypoint.orientation = orientation; waypoint.moveType = run ? WAYPOINT_MOVE_TYPE_RUN : WAYPOINT_MOVE_TYPE_WALK; waypoint.delay = waitTime.count(); - waypoint.eventId = 0; - waypoint.eventChance = 100; _path.nodes.push_back(std::move(waypoint)); } -- cgit v1.2.3