diff options
-rw-r--r-- | src/flooritem.cpp | 4 | ||||
-rw-r--r-- | src/flooritem.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp index 2c02179dd..623dd9682 100644 --- a/src/flooritem.cpp +++ b/src/flooritem.cpp @@ -46,10 +46,10 @@ FloorItem::FloorItem(const int id, const int itemId, const int x, const int y, mDropTime(cur_time), mAmount(amount), mPickupCount(0), + mCursor(Cursor::CURSOR_PICKUP), mColor(color), mShowMsg(true), - mHighlight(config.getBoolValue("floorItemsHighlight")), - mCursor(Cursor::CURSOR_PICKUP) + mHighlight(config.getBoolValue("floorItemsHighlight")) { setMap(map); const ItemInfo &info = ItemDB::get(itemId); diff --git a/src/flooritem.h b/src/flooritem.h index c73b39bd4..86fb1703e 100644 --- a/src/flooritem.h +++ b/src/flooritem.h @@ -106,11 +106,11 @@ class FloorItem final : public ActorSprite int mX, mY; int mDropTime; int mAmount; - unsigned mPickupCount; + unsigned int mPickupCount; + Cursor::Cursor mCursor; unsigned char mColor; bool mShowMsg; bool mHighlight; - Cursor::Cursor mCursor; }; #endif // FLOORITEM_H |