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 | |
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')
-rw-r--r-- | src/resources/iteminfo.cpp | 4 | ||||
-rw-r--r-- | src/resources/iteminfo.h | 2 |
2 files changed, 3 insertions, 3 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) diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index e1fe30b33..d48fac5a0 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -337,7 +337,7 @@ class ItemInfo final static void setSpriteOrder(int *const ptr, const int direction, const int n, - const int def = -1) A_NONNULL(1); + const int def) A_NONNULL(1); SpriteDisplay mDisplay; /**< Display info (like icon) */ MissileInfo mMissile; |