aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGacko <gacko28@gmx.de>2013-06-29 20:46:54 +0200
committerGacko <gacko28@gmx.de>2013-06-29 20:50:30 +0200
commitc13e84f1f998fb6b283d19818e71ecafcf9288fb (patch)
tree047859bd8b17d881b4e2cb11002b863a94a98d0d
parent0e4cebf9c6da88f8f00e97133168d47e2415ce00 (diff)
DB/SAI: Fix several runtime warnings / logical mistakes
* Wrong event types for linked events * Possible multiple AI template initialization
-rw-r--r--sql/updates/world/2013_06_29_01_world_misc.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/world/2013_06_29_01_world_misc.sql b/sql/updates/world/2013_06_29_01_world_misc.sql
new file mode 100644
index 00000000000..63ca7e96e63
--- /dev/null
+++ b/sql/updates/world/2013_06_29_01_world_misc.sql
@@ -0,0 +1,3 @@
+UPDATE `smart_scripts` SET `event_type`=37 WHERE `entryorguid` IN (9818,9817) AND `id`=0 AND `source_type`=0;
+UPDATE `smart_scripts` SET `event_type`=61 WHERE ((`entryorguid`=10817 AND `id`=9) OR (`entryorguid`= 1399 AND `id`=3)) AND `source_type`=0;
+UPDATE `smart_scripts` SET `link`=11 WHERE `entryorguid`=314 AND `id`=10 AND `source_type`=0; \ No newline at end of file