mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7385] Fixed mail price calculation broken recently by me.
This commit is contained in:
parent
c18d20782b
commit
649653956a
2 changed files with 2 additions and 4 deletions
|
|
@ -122,9 +122,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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue