aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Mail.cpp4
-rw-r--r--src/shared/revision_nr.h2
2 files changed, 2 insertions, 4 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;
diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h
index 780e1fce4c3..fb8ea9d9143 100644
--- a/src/shared/revision_nr.h
+++ b/src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "7384"
+ #define REVISION_NR "7385"
#endif // __REVISION_NR_H__