diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:35 +0300 |
commit | 7f9d948a34c0afeb2fbf3e663d058048248b622f (patch) | |
tree | e39b895cf4b6fd8391474f139e794751dd28ae52 /src/resources/iteminfo.cpp | |
parent | 05f6f3e94abc5c1e1801d62100cef494e2711474 (diff) | |
download | mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.gz mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.bz2 mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.xz mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.zip |
Add missing const and static into resource classes.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index afe9ff027..b7fc0f4ac 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -253,8 +253,10 @@ const SpriteToItemMap *ItemInfo::getSpriteToItemReplaceMap(const int direction) return nullptr; } -void ItemInfo::setSpriteOrder(int *const ptr, const int direction, - const int n, const int def) const +void ItemInfo::setSpriteOrder(int *const ptr, + const int direction, + const int n, + const int def) { switch (direction) { |