aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorShauren <none@none>2010-09-02 10:40:32 +0200
committerShauren <none@none>2010-09-02 10:40:32 +0200
commit0f9fe8dbeb3990175cfac07a3b7349c9d8e668b7 (patch)
treed18a6f125f64682fb0623f3dbae2e4ac38948f11 /sql/updates
parent320cd16f209c95480c3dacf8d2a17466d551019f (diff)
Core/Players: Don't set instanceId to 0 when player is on transport during loading, there CAN be transports inside instances
Core/Scripts: Added waypoint id to OnRelocate transport hook Core/Scripts: Make use of ZoneScript::GetGameObjectEntry at gameobject creation (makes it possible to override gameobject entries in instances) Core/Transports: Call InstanceScript::EventInform for transport events Core/Transports: Use guid from db for transports, not just its entry - adds partial support for instancing them (still cannot use transports table for it, but can spawn manually now) Scripts/Icecrown Citadel: Fixed crash in Deathbringer Saurfang when event is started by more than one person (can't do this anymore) Closes isssue #3749. --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/9760_world_transports.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/9760_world_transports.sql b/sql/updates/9760_world_transports.sql
new file mode 100644
index 00000000000..bed2528adfb
--- /dev/null
+++ b/sql/updates/9760_world_transports.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `transports`
+ ADD COLUMN `guid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT FIRST,
+ MODIFY COLUMN `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `guid`,
+ DROP PRIMARY KEY,
+ ADD PRIMARY KEY (`guid`),
+ ADD UNIQUE INDEX `idx_entry` (`entry`);