From e73a43ece5cc449d915d85c6bdda2615deacc87d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 21:27:22 +0300 Subject: move bools in flooritem. --- src/flooritem.cpp | 4 ++-- src/flooritem.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2