summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 20:16:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 20:16:41 +0300
commit845a02e65d8077f4079724a106f75470984df8d2 (patch)
treee6ab2efdd3d408dbb235fc6b3f7591ac0b017a51 /src/being/being.h
parent93e5a6fbfba642e4e3ff85dcf7bc3c02bada5649 (diff)
downloadmanaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.gz
manaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.bz2
manaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.xz
manaplus-845a02e65d8077f4079724a106f75470984df8d2.zip
Simplify set weapon sprite.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 7e3ec2b55..2fd5ed672 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -323,7 +323,6 @@ class Being notfinal : public ActorSprite,
const int id,
std::string color,
ItemColor colorId,
- const IsWeapon isWeapon,
const int *const cards) restrict2;
void setWeaponId(const int id) restrict2;
@@ -336,8 +335,7 @@ class Being notfinal : public ActorSprite,
void updateSprite(const unsigned int slot,
const int id,
const std::string &restrict color = "",
- const ItemColor colorId = ItemColor_one,
- const IsWeapon isWeapon = IsWeapon_false)
+ const ItemColor colorId = ItemColor_one)
restrict2;
void setSpriteID(const unsigned int slot,