Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

Commit 614766d

Browse files
committed
Update mailbox.cpp
1 parent 4835996 commit 614766d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mailbox.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ bool Mailbox::sendItemTo(const std::string& name, uint32_t depotId, Item* item)
125125
ReturnValue moveResult;
126126
Depot* depot = player->getDepot(depotId, true);
127127
if(depot){
128-
moveResult = g_game.internalMoveItem(item->getParent(), depot, INDEX_WHEREEVER, item, item->getItemCount(), NULL, NULL);
128+
moveResult = g_game.internalMoveItem(item->getParent(), depot, INDEX_WHEREEVER, item, item->getItemCount(), NULL, 0);
129129
if(moveResult == RET_NOERROR)
130130
{
131131
if(item->getID() == ITEM_PARCEL || item->getID() == ITEM_LETTER){
@@ -140,7 +140,7 @@ bool Mailbox::sendItemTo(const std::string& name, uint32_t depotId, Item* item)
140140
}
141141
else if (moveResult == RET_DEPOTISFULL)
142142
{
143-
g_game.internalCreatureSay(player, SPEAK_MONSTER_SAY, "You can not sent this because the receiver depot is full!");
143+
g_game.internalCreatureSay(player, SPEAK_MONSTER_SAY, "Sorry, depot of the player is full.");
144144
}
145145
}
146146

0 commit comments

Comments
 (0)