diff options
| author | Spp <spp@jorge.gr> | 2011-08-03 11:23:08 +0200 |
|---|---|---|
| committer | Spp <spp@jorge.gr> | 2011-08-03 11:23:08 +0200 |
| commit | e7327e7e94234467eef2826851f1f5bb46b44b48 (patch) | |
| tree | 94c445afe4a2cd72b14a986937738f44779de22b /src/server/scripts/Outland | |
| parent | 8572d5d0e9f34a85a6404769bbb6d26e2c0f7b58 (diff) | |
Core: Fix compile without PCH and fix some warnings
Diffstat (limited to 'src/server/scripts/Outland')
| -rw-r--r-- | src/server/scripts/Outland/BlackTemple/boss_illidan.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Outland/shadowmoon_valley.cpp | 4 | ||||
| -rw-r--r-- | src/server/scripts/Outland/zangarmarsh.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp index 32ad878c2ac..7b6a9e97687 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp @@ -1628,7 +1628,7 @@ public: void HandleChannelSequence() { - Unit* Channel = NULL, *Spirit[2]; + Unit* Channel = NULL, *Spirit[2] = { NULL, NULL }; if (ChannelCount <= 5) { Channel = Unit::GetUnit((*me), ChannelGUID); diff --git a/src/server/scripts/Outland/shadowmoon_valley.cpp b/src/server/scripts/Outland/shadowmoon_valley.cpp index 6236a7658e6..a99b2946409 100644 --- a/src/server/scripts/Outland/shadowmoon_valley.cpp +++ b/src/server/scripts/Outland/shadowmoon_valley.cpp @@ -452,7 +452,7 @@ public: if (uiAction == GOSSIP_ACTION_INFO_DEF+1) { ItemPosCountVec dest; - uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30658, 1, false); + uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30658, 1, NULL); if (msg == EQUIP_ERR_OK) { player->StoreNewItem(dest, 30658, 1, true); @@ -462,7 +462,7 @@ public: if (uiAction == GOSSIP_ACTION_INFO_DEF+2) { ItemPosCountVec dest; - uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30659, 1, false); + uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30659, 1, NULL); if (msg == EQUIP_ERR_OK) { player->StoreNewItem(dest, 30659, 1, true); diff --git a/src/server/scripts/Outland/zangarmarsh.cpp b/src/server/scripts/Outland/zangarmarsh.cpp index dbce64746c0..62d0893f014 100644 --- a/src/server/scripts/Outland/zangarmarsh.cpp +++ b/src/server/scripts/Outland/zangarmarsh.cpp @@ -250,7 +250,7 @@ public: { ItemPosCountVec dest; uint32 itemId = 24573; - InventoryResult msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemId, 1, false); + InventoryResult msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemId, 1, NULL); if (msg == EQUIP_ERR_OK) { player->StoreNewItem(dest, itemId, true); |
