aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2014-09-19 22:36:50 +0100
committerDDuarte <dnpd.dd@gmail.com>2014-09-19 22:36:50 +0100
commit83f82b4a040430d13c6e2ec24730e556f6d8feb9 (patch)
tree0baf665c0654bf15198cf6c042009b2951c7ad0f /sql
parent0f2e63852c5dba46c61e4ca51091bfbeb353ac2a (diff)
Core/ObjectMgr: check creature.orientation and gameobject.orientation range in loading
Closes #13156
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2014_09_19_06_world_normalize_orientation.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/2014_09_19_06_world_normalize_orientation.sql b/sql/updates/world/2014_09_19_06_world_normalize_orientation.sql
new file mode 100644
index 00000000000..cf808c3ad82
--- /dev/null
+++ b/sql/updates/world/2014_09_19_06_world_normalize_orientation.sql
@@ -0,0 +1,2 @@
+UPDATE `creature` SET `orientation` = MOD(`orientation`, 2*PI()) WHERE `guid` IN (42160, 207528);
+UPDATE `gameobject` SET `orientation` = MOD(`orientation`, 2*PI()) WHERE `guid` = 7607;