From 7b15124d28592ee7b9248c9ff3b19e710c1ce4ee Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Jul 2011 21:54:07 +0300 Subject: Small optimisation in reorder sprites function. --- src/resources/iteminfo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/iteminfo.h') diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index d8b8c7b0d..daa9d590c 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -256,6 +256,9 @@ class ItemInfo const std::string replaceColors(std::string str, unsigned char color) const; + int mDrawBefore[9]; + int mDrawAfter[9]; + int mDrawPriority[9]; protected: SpriteDisplay mDisplay; /**< Display info (like icon) */ @@ -267,9 +270,6 @@ class ItemInfo int mWeight; /**< Weight in grams. */ int mView; /**< Item ID of how this item looks. */ int mId; /**< Item ID */ - int mDrawBefore[9]; - int mDrawAfter[9]; - int mDrawPriority[9]; bool mIsRemoveSprites; // sprite, [direction] SpriteToItemMap *mSpriteToItemReplaceMap[9]; -- cgit v1.2.3-70-g09d2