aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/ScriptedAI
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2023-11-24 21:08:00 +0100
committerGitHub <noreply@github.com>2023-11-24 21:08:00 +0100
commit3f6f683ce4b5f4a95a2d70921de2c80de6b3a8fe (patch)
treef5601a0099a13aacef4bb115679ac51858ac9e42 /src/server/game/AI/ScriptedAI
parentb299902881cb6525b5a6cc08c5721c0c1c7401ab (diff)
Core/Waypoints: Drop waypoint_scripts table (#29437)
Diffstat (limited to 'src/server/game/AI/ScriptedAI')
-rw-r--r--src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp2
1 files changed, 0 insertions, 2 deletions
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));
}