Skip to content

Commit

Permalink
Merge 3.3.5 to 3.3.5-skip-dk
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Nov 4, 2024
2 parents c6444ee + 32bfd07 commit b98e9a2
Show file tree
Hide file tree
Showing 6 changed files with 1,703 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/updates/world/3.3.5/2024_10_29_00_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--
UPDATE `gossip_menu_option` SET `OptionBroadcastTextID` = 2924 WHERE `OptionBroadcastTextID` = 50546 AND `OptionID` = 1;
2 changes: 2 additions & 0 deletions sql/updates/world/3.3.5/2024_10_29_01_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--
UPDATE `gossip_menu_option` SET `OptionBroadcastTextID` = 2924 WHERE `OptionBroadcastTextID` = 50546;
2 changes: 2 additions & 0 deletions sql/updates/world/3.3.5/2024_11_01_00_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Cast Summon Khadgar's Servant even on mounted player
UPDATE `smart_scripts` SET `action_param2`=2 WHERE `entryorguid`=1816600 AND `source_type`=9 AND `id`=1;
1,687 changes: 1,687 additions & 0 deletions sql/updates/world/3.3.5/2024_11_01_01_world.sql

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions sql/updates/world/3.3.5/2024_11_03_00_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (64414);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,64414,0,0,31,0,3,33109,0,0,0,0,'','Load Into Catapult target Salvaged Demolisher');
6 changes: 6 additions & 0 deletions src/server/game/Maps/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2983,6 +2983,9 @@ void Map::SendInitTransports(Player* player)
if (*i != player->GetTransport())
(*i)->BuildCreateUpdateBlockForPlayer(&transData, player);

if (!transData.HasData())
return;

WorldPacket packet;
transData.BuildPacket(&packet);
player->SendDirectMessage(&packet);
Expand All @@ -2996,6 +2999,9 @@ void Map::SendRemoveTransports(Player* player)
if (*i != player->GetTransport())
(*i)->BuildOutOfRangeUpdateBlock(&transData);

if (!transData.HasData())
return;

WorldPacket packet;
transData.BuildPacket(&packet);
player->SendDirectMessage(&packet);
Expand Down

0 comments on commit b98e9a2

Please sign in to comment.