aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2018_02_11_01_world_2016_11_20_01_world.sql7
-rw-r--r--src/server/scripts/Northrend/zone_storm_peaks.cpp1
2 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/master/2018_02_11_01_world_2016_11_20_01_world.sql b/sql/updates/world/master/2018_02_11_01_world_2016_11_20_01_world.sql
new file mode 100644
index 00000000000..e93887bedc7
--- /dev/null
+++ b/sql/updates/world/master/2018_02_11_01_world_2016_11_20_01_world.sql
@@ -0,0 +1,7 @@
+--
+DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=16 AND `SourceEntry`=29709);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(16,0,29709,0,0,23,0,4422,0,0,0,0,'','Dismount player when not in intended zone'),
+(16,0,29709,0,1,23,0,4535,0,0,0,0,'','Dismount player when not in intended zone'),
+(16,0,29709,0,2,23,0,4437,0,0,0,0,'','Dismount player when not in intended zone'),
+(16,0,29709,0,3,23,0,4438,0,0,0,0,'','Dismount player when not in intended zone');
diff --git a/src/server/scripts/Northrend/zone_storm_peaks.cpp b/src/server/scripts/Northrend/zone_storm_peaks.cpp
index 293e42b671a..acc41939d32 100644
--- a/src/server/scripts/Northrend/zone_storm_peaks.cpp
+++ b/src/server/scripts/Northrend/zone_storm_peaks.cpp
@@ -284,6 +284,7 @@ public:
void UpdateAI(uint32 diff) override
{
+ VehicleAI::UpdateAI(diff);
events.Update(diff);
switch (events.ExecuteEvent())