diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-26 21:54:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-26 21:54:07 +0300 |
commit | 7b15124d28592ee7b9248c9ff3b19e710c1ce4ee (patch) | |
tree | fecbaa33f8424404228c561c49274a9c76486732 /src/resources/iteminfo.h | |
parent | badba244423ba8fccb246afaa8b1dd0c1448b370 (diff) | |
download | manaplus-7b15124d28592ee7b9248c9ff3b19e710c1ce4ee.tar.gz manaplus-7b15124d28592ee7b9248c9ff3b19e710c1ce4ee.tar.bz2 manaplus-7b15124d28592ee7b9248c9ff3b19e710c1ce4ee.tar.xz manaplus-7b15124d28592ee7b9248c9ff3b19e710c1ce4ee.zip |
Small optimisation in reorder sprites function.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
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, <itemfrom, itemto> [direction] SpriteToItemMap *mSpriteToItemReplaceMap[9]; |