mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 08:59:11 +01:00
Core/Movement: updated smartAI waypoint support to use the new smooth transition field as well
This commit is contained in:
8
sql/updates/world/4.3.4/2021_07_16_00_world.sql
Normal file
8
sql/updates/world/4.3.4/2021_07_16_00_world.sql
Normal file
@@ -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`;
|
||||
Reference in New Issue
Block a user