aboutsummaryrefslogtreecommitdiff
path: root/src/game/Mail.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-06 15:22:19 -0600
committermegamage <none@none>2009-03-06 15:22:19 -0600
commit93113cd3cc4f67bc685d39524a21e0d53d352ffb (patch)
treee09de1b31f32474baa58e18c376a3ced307cf89d /src/game/Mail.cpp
parent50b3095312ef01dcc748011d740a8fadfaa04b6c (diff)
[7385] Fixed mail price calculation Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Mail.cpp')
-rw-r--r--src/game/Mail.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp
index 978d8071ec5..8b5c5e5faf2 100644
--- a/src/game/Mail.cpp
+++ b/src/game/Mail.cpp
@@ -125,9 +125,7 @@ void WorldSession::HandleSendMail(WorldPacket & recv_data )
return;
}
- uint32 cost = money + 30;
- if (items_count)
- cost = 30 * items_count;
+ uint32 cost = items_count ? 30 * items_count : 30; // price hardcoded in client
uint32 reqmoney = cost + money;