aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Server
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2011-11-22 13:32:11 +0100
committerRat <gmstreetrat@gmail.com>2011-11-22 13:32:11 +0100
commita12df963b932bc6f0b28048ed1e2b2efbdb1b791 (patch)
treec9be421f7c984be0437900636d832f51611d8301 /src/server/game/Server
parent154612f279d7e506b0fe2984ef0fc7db4d84878d (diff)
-updated all DBC formats, except spell* ones
-added dbc.zip (all 4.2.2 files + 3.3.5 spells) -hardcoded map 0's entry for mapdifficulty (dbc has no data for it)
Diffstat (limited to 'src/server/game/Server')
-rwxr-xr-xsrc/server/game/Server/Protocol/Handlers/NPCHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/NPCHandler.cpp b/src/server/game/Server/Protocol/Handlers/NPCHandler.cpp
index a675214930a..a2aa5ea3c50 100755
--- a/src/server/game/Server/Protocol/Handlers/NPCHandler.cpp
+++ b/src/server/game/Server/Protocol/Handlers/NPCHandler.cpp
@@ -753,7 +753,7 @@ void WorldSession::HandleBuyStableSlot(WorldPacket & recv_data)
if (GetPlayer()->m_stableSlots < MAX_PET_STABLES)
{
- StableSlotPricesEntry const* SlotPrice = sStableSlotPricesStore.LookupEntry(GetPlayer()->m_stableSlots+1);
+ /*StableSlotPricesEntry const* SlotPrice = sStableSlotPricesStore.LookupEntry(GetPlayer()->m_stableSlots+1);
if (_player->HasEnoughMoney(SlotPrice->Price))
{
++GetPlayer()->m_stableSlots;
@@ -761,7 +761,7 @@ void WorldSession::HandleBuyStableSlot(WorldPacket & recv_data)
SendStableResult(STABLE_SUCCESS_BUY_SLOT);
}
else
- SendStableResult(STABLE_ERR_MONEY);
+ SendStableResult(STABLE_ERR_MONEY);*/
}
else
SendStableResult(STABLE_ERR_STABLE);