summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-24 18:41:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-25 22:08:24 +0300
commitd49a520d19f28c613c68b574686b182a9c0621be (patch)
tree5b6943125fd364eaaaaa295b45100cdfc473dd93 /src/resources/iteminfo.h
parent14f55eb8c6e44763e70046b9661bd056280226a5 (diff)
downloadmv-d49a520d19f28c613c68b574686b182a9c0621be.tar.gz
mv-d49a520d19f28c613c68b574686b182a9c0621be.tar.bz2
mv-d49a520d19f28c613c68b574686b182a9c0621be.tar.xz
mv-d49a520d19f28c613c68b574686b182a9c0621be.zip
Add missing checks into resources directory.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h12
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. */