summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/localplayer.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 62b45f62..cea27960 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1282,7 +1282,11 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, int amount,
if (mMap && config.getValue("showpickupparticle", 0))
{
// Show pickup notification
- addMessageToQueue(itemInfo.getName(), UserPalette::PICKUP_INFO);
+ std::string msg = "";
+ if (amount > 1)
+ msg = strprintf("%i ", amount);
+ msg += itemInfo.getName();
+ addMessageToQueue(msg, UserPalette::PICKUP_INFO);
}
}
}