diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:16:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 28b11ea101e08bba4a8b8b00ed553ffeb223384a (patch) | |
tree | e38bdbbe3dbc46a07c516e74da9f1dbb8bbc6d3b /src/being/localplayer.cpp | |
parent | 49965a6282c0f8273ba30ddc48d877334c39bd2a (diff) | |
download | plus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.tar.gz plus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.tar.bz2 plus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.tar.xz plus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.zip |
add missing initialisation in localplayer.
Diffstat (limited to 'src/being/localplayer.cpp')
-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: |