summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-16 02:31:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-16 02:31:58 +0300
commit846e02907e43cdae952c2b78fa11f8343c35068a (patch)
treed9e182c26678973e3337865a8679cbf9896c128d /src/being
parent19b82b4dad9b66418a4e7d0ed0ba23d0cab17216 (diff)
downloadplus-846e02907e43cdae952c2b78fa11f8343c35068a.tar.gz
plus-846e02907e43cdae952c2b78fa11f8343c35068a.tar.bz2
plus-846e02907e43cdae952c2b78fa11f8343c35068a.tar.xz
plus-846e02907e43cdae952c2b78fa11f8343c35068a.zip
Remove default parameters from Being::takeDamage.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 64a193c46..adbdf7432 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -199,8 +199,8 @@ class Being notfinal : public ActorSprite,
void takeDamage(Being *restrict const attacker,
const int amount,
const AttackTypeT type,
- const int attackId = 1,
- const int level = 1) restrict2;
+ const int attackId,
+ const int level) restrict2;
/**
* Handles an attack of another being by this being.