diff options
-rw-r--r-- | src/being/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index b1f577197..4bff1320e 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1364,7 +1364,7 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, const int amount, item->setShowMsg(false); } } - const char* msg; + const char* msg = nullptr; switch (fail) { case PICKUP_BAD_ITEM: |