summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-28 13:25:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 00:49:52 +0300
commit46696c84bad31e35e003b5c09998503119b128eb (patch)
tree7449b98a62fa7ff520d995b27511878d2605c7d4 /src/resources/iteminfo.h
parentc79403e1341ac533df1771b866d1f5cee15e12b5 (diff)
downloadmv-46696c84bad31e35e003b5c09998503119b128eb.tar.gz
mv-46696c84bad31e35e003b5c09998503119b128eb.tar.bz2
mv-46696c84bad31e35e003b5c09998503119b128eb.tar.xz
mv-46696c84bad31e35e003b5c09998503119b128eb.zip
Add to replace/reorder sprites pseudo direction "died"
It allow change sprites in dead players.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index f1d44f24d..655bc049c 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -261,9 +261,9 @@ class ItemInfo
const std::string replaceColors(std::string str,
unsigned char color) const;
- int mDrawBefore[9];
- int mDrawAfter[9];
- int mDrawPriority[9];
+ int mDrawBefore[10];
+ int mDrawAfter[10];
+ int mDrawPriority[10];
protected:
SpriteDisplay mDisplay; /**< Display info (like icon) */
@@ -277,7 +277,7 @@ class ItemInfo
int mId; /**< Item ID */
bool mIsRemoveSprites;
// sprite, <itemfrom, itemto> [direction]
- SpriteToItemMap *mSpriteToItemReplaceMap[9];
+ SpriteToItemMap *mSpriteToItemReplaceMap[10];
std::vector<SpriteToItemMap*> mSpriteToItemReplaceList;