summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
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/iteminfo.cpp
parent1300d2c59dbbc408e1dc9c7c1f193795dcaf570b (diff)
downloadManaVerse-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.cpp4
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)