diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 14:18:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 14:19:41 +0300 |
commit | e0b255453f189f80aab146574bdcb873771801c6 (patch) | |
tree | fe9b31d562fcbd9251eb699488c2fcfd53b31526 /src/textcommand.cpp | |
parent | 19dc154e3b064b9cadd16b9e9889fd23c97ce09b (diff) | |
download | manaverse-e0b255453f189f80aab146574bdcb873771801c6.tar.gz manaverse-e0b255453f189f80aab146574bdcb873771801c6.tar.bz2 manaverse-e0b255453f189f80aab146574bdcb873771801c6.tar.xz manaverse-e0b255453f189f80aab146574bdcb873771801c6.zip |
improve textcommand class.
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 af2c5a31e..8747c4d57 100644 --- a/src/textcommand.cpp +++ b/src/textcommand.cpp @@ -115,7 +115,7 @@ void TextCommand::loadImage() return; ResourceManager *const resman = ResourceManager::getInstance(); - SpriteDisplay display = ItemDB::get(getIcon()).getDisplay(); + const SpriteDisplay display = ItemDB::get(getIcon()).getDisplay(); mImage = resman->getImage(paths.getStringValue("itemIcons") .append(display.image)); |