feat(Core/Movement): Allow waypoints to use 0 as valid facing value (#11681)
* feat(Core/Movement): Allow waypoints to use 0 as valid facing value * cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/4747515872775553de35cc3267e1ccd5e0076ca4) Co-Authored-By: Ovah <18347559+Ovahlord@users.noreply.github.com> * Update SmartScriptMgr.h * a * Update SmartAI.cpp * Update SmartAI.cpp * Update SmartAI.cpp * typo * Update SmartAI.cpp * Update SmartAI.cpp * Compile fix * compile #2 * Update WaypointMgr.h * Update SmartScriptMgr.h * compile fix again Co-authored-by: Ovah <18347559+Ovahlord@users.noreply.github.com> Co-authored-by: MDIC <joshua.lee.betts@gmail.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
--
|
||||
ALTER TABLE `waypoint_data` CHANGE `orientation` `orientation` FLOAT DEFAULT NULL NULL;
|
||||
UPDATE `waypoint_data` SET `orientation`= NULL WHERE `orientation`= 0;
|
||||
|
||||
ALTER TABLE `waypoints` CHANGE `orientation` `orientation` FLOAT DEFAULT NULL NULL;
|
||||
UPDATE `waypoints` SET `orientation`= NULL WHERE `orientation`= 0;
|
||||
Reference in New Issue
Block a user