summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:35 +0300
commit7f9d948a34c0afeb2fbf3e663d058048248b622f (patch)
treee39b895cf4b6fd8391474f139e794751dd28ae52 /src/resources/iteminfo.h
parent05f6f3e94abc5c1e1801d62100cef494e2711474 (diff)
downloadmanaverse-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.gz
manaverse-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.bz2
manaverse-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.xz
manaverse-7f9d948a34c0afeb2fbf3e663d058048248b622f.zip
Add missing const and static into resource classes.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 43dcbf9e9..d3df1c448 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -229,8 +229,10 @@ class ItemInfo final
void setDrawPriority(const int direction, const int n);
- void setSpriteOrder(int *const ptr, const int direction,
- const int n, const int def = -1) const;
+ 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; }