summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 18:55:26 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 18:55:26 +0300
commita86bdc28fb8bc8a70c6a19523789495d87c7a56d (patch)
tree18ebdbac9d236a3358af836e70544f0da905ee45 /src/flooritem.cpp
parentc25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31 (diff)
downloadmv-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.gz
mv-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.bz2
mv-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.xz
mv-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.zip
Add strong type bool type ForceDisplay.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index eacccb054..c28b0a239 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -90,7 +90,9 @@ void FloorItem::postInit(Map *const map, int subX, int subY)
}
mCursor = info.getPickupCursor();
- setupSpriteDisplay(info.getDisplay(), true, 1,
+ setupSpriteDisplay(info.getDisplay(),
+ ForceDisplay_true,
+ 1,
info.getDyeColorsString(mColor));
}