diff options
author | CraftedRO <CraftedRO@users.noreply.github.com> | 2021-10-04 22:42:09 +0300 |
---|---|---|
committer | offl <offl@users.noreply.github.com> | 2021-10-04 22:42:09 +0300 |
commit | 572d1f3be5909d6ed5259cdbbe1f096bb8d873c3 (patch) | |
tree | b499ee8e383cad7f826d61425c8a35e6b266648c | |
parent | a9ce76a0fb8ab3104559f57bd14fd90eaf2563f1 (diff) |
DB/Gameobject: Fix rotation of some signs
Closes #26961
-rw-r--r-- | sql/updates/world/3.3.5/2021_10_04_02_world_335.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_10_04_02_world_335.sql b/sql/updates/world/3.3.5/2021_10_04_02_world_335.sql new file mode 100644 index 00000000000..72b57300516 --- /dev/null +++ b/sql/updates/world/3.3.5/2021_10_04_02_world_335.sql @@ -0,0 +1,7 @@ +-- +UPDATE `gameobject` a INNER JOIN `gameobject_addon` b ON a.`guid` = b.`guid` SET +`rotation0` = `parent_rotation0`, +`rotation1` = `parent_rotation1`, +`rotation2` = `parent_rotation2`, +`rotation3` = `parent_rotation3` WHERE a.`id` IN (19569,19570,19571); +DELETE FROM `gameobject_addon` WHERE `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (19569,19570,19571)); |