summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 934155dd..288dfd33 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -920,7 +920,7 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, int amount,
if (mMap && config.getBoolValue("showpickupparticle"))
{
// Show pickup notification
- std::string msg = "";
+ std::string msg;
if (amount > 1)
msg = strprintf("%i ", amount);
msg += itemInfo.getName();