diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-24 18:41:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 22:08:24 +0300 |
commit | d49a520d19f28c613c68b574686b182a9c0621be (patch) | |
tree | 5b6943125fd364eaaaaa295b45100cdfc473dd93 /src/resources/iteminfo.h | |
parent | 14f55eb8c6e44763e70046b9661bd056280226a5 (diff) | |
download | manaplus-d49a520d19f28c613c68b574686b182a9c0621be.tar.gz manaplus-d49a520d19f28c613c68b574686b182a9c0621be.tar.bz2 manaplus-d49a520d19f28c613c68b574686b182a9c0621be.tar.xz manaplus-d49a520d19f28c613c68b574686b182a9c0621be.zip |
Add missing checks into resources directory.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 4c8d90f8c..4d40390d9 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -201,11 +201,6 @@ class ItemInfo final void setDrawPriority(const int direction, const int n); - static void setSpriteOrder(int *const ptr, - const int direction, - const int n, - const int def = -1); - const std::map<int, int> &getTags() const A_WARN_UNUSED { return mTags; } @@ -280,7 +275,12 @@ class ItemInfo final int mDrawAfter[10]; int mDrawPriority[10]; - protected: + private: + static void setSpriteOrder(int *const ptr, + const int direction, + const int n, + const int def = -1) A_NONNULL(1); + SpriteDisplay mDisplay; /**< Display info (like icon) */ std::string mName; std::string mDescription; /**< Short description. */ |