summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-21 00:41:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-21 00:41:01 +0300
commita69df587ec23e03ea4ab8540c6c36db2ec93c6e9 (patch)
tree6a47c42fe81dbdbbdd0d5f8ebffed78c900ced95 /src/resources
parent1300d2c59dbbc408e1dc9c7c1f193795dcaf570b (diff)
downloadmv-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.tar.gz
mv-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.tar.bz2
mv-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.tar.xz
mv-a69df587ec23e03ea4ab8540c6c36db2ec93c6e9.zip
Remove default parameter from iteminfo.h
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/iteminfo.cpp4
-rw-r--r--src/resources/iteminfo.h2
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;