Core/Movement: updated smartAI waypoint support to use the new smooth transition field as well

This commit is contained in:
Ovahlord committed 2021-07-16 16:56:47 +02:00
1 parent 64a2487457
commit b236bd39df
3 files changed
+12 -3

No files matched your search

@@ -0,0 +1,8 @@
ALTER TABLE `waypoints`
ADD COLUMN `smoothTransition` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `delay`;
UPDATE `waypoints` SET `smoothTransition`= 1 WHERE `delay` < 0;
UPDATE `waypoints` SET `delay`= 0 WHERE `delay` < 0;
ALTER TABLE `waypoints`
MODIFY COLUMN `delay` int UNSIGNED NOT NULL DEFAULT 0 AFTER `velocity`;