summaryrefslogtreecommitdiff
path: root/src/being/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-22 01:45:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-22 01:45:59 +0300
commitad56ac4bda60beddf33640df346801af1ece9ccf (patch)
tree80b27c32a9e954dd747e261d4f7617e4c959bb26 /src/being/flooritem.cpp
parentc0b08d3f4f554c16e9a3599f1f1063c3a283bb93 (diff)
downloadmv-ad56ac4bda60beddf33640df346801af1ece9ccf.tar.gz
mv-ad56ac4bda60beddf33640df346801af1ece9ccf.tar.bz2
mv-ad56ac4bda60beddf33640df346801af1ece9ccf.tar.xz
mv-ad56ac4bda60beddf33640df346801af1ece9ccf.zip
Add strong typed enum DisplayType.
Diffstat (limited to 'src/being/flooritem.cpp')
-rw-r--r--src/being/flooritem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/flooritem.cpp b/src/being/flooritem.cpp
index 545bae892..a69b8af0e 100644
--- a/src/being/flooritem.cpp
+++ b/src/being/flooritem.cpp
@@ -120,7 +120,7 @@ void FloorItem::postInit(Map *const map, int subX, int subY)
mCursor = info.getPickupCursor();
setupSpriteDisplay(info.getDisplay(),
ForceDisplay_true,
- 1,
+ DisplayType::Floor,
info.getDyeIconColorsString(mColor));
}