diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-10 21:03:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-10 21:03:00 +0300 |
commit | ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33 (patch) | |
tree | ce5ef49e7e88c4a7d57355f82c48f364a91f883d /src/textcommand.cpp | |
parent | 675b9f793e5b36862294e4f0419c5cf2eab72164 (diff) | |
download | manaplus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.tar.gz manaplus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.tar.bz2 manaplus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.tar.xz manaplus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.zip |
Fix variable copy in textcommand.cpp
Diffstat (limited to 'src/textcommand.cpp')
-rw-r--r-- | src/textcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textcommand.cpp b/src/textcommand.cpp index 320e295a2..5c0a2b071 100644 --- a/src/textcommand.cpp +++ b/src/textcommand.cpp @@ -132,7 +132,7 @@ void TextCommand::loadImage() } const ItemInfo &info = ItemDB::get(mIcon); - const SpriteDisplay display = info.getDisplay(); + const SpriteDisplay &display = info.getDisplay(); mImage = Loader::getImage(pathJoin(paths.getStringValue("itemIcons"), display.image)); |