diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-21 00:41:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-21 00:41:01 +0300 |
commit | a69df587ec23e03ea4ab8540c6c36db2ec93c6e9 (patch) | |
tree | 6a47c42fe81dbdbbdd0d5f8ebffed78c900ced95 /src/resources/iteminfo.cpp | |
parent | 1300d2c59dbbc408e1dc9c7c1f193795dcaf570b (diff) | |
download | manaverse-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.tar.gz manaverse-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.tar.bz2 manaverse-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.tar.xz manaverse-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.zip |
Remove default parameter from iteminfo.h
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index 60810e000..68fbfa08c 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -368,12 +368,12 @@ void ItemInfo::setSpriteOrder(int *const ptr, void ItemInfo::setDrawBefore(const int direction, const int n) { - setSpriteOrder(&mDrawBefore[0], direction, n); + setSpriteOrder(&mDrawBefore[0], direction, n, -1); } void ItemInfo::setDrawAfter(const int direction, const int n) { - setSpriteOrder(&mDrawAfter[0], direction, n); + setSpriteOrder(&mDrawAfter[0], direction, n, -1); } void ItemInfo::setDrawPriority(const int direction, const int n) |