From d49a520d19f28c613c68b574686b182a9c0621be Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Jun 2015 18:41:42 +0300 Subject: Add missing checks into resources directory. --- src/resources/iteminfo.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/resources/iteminfo.h') 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 &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. */ -- cgit v1.2.3-60-g2f50