summaryrefslogtreecommitdiff
path: root/src/net
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/net
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/net')
-rw-r--r--src/net/ea/beingrecv.cpp2
-rw-r--r--src/net/eathena/beingrecv.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index b2859d76f..b802e268f 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -189,7 +189,7 @@ void BeingRecv::processBeingAction(Net::MessageIn &msg)
{
// level not present, using 1
dstBeing->takeDamage(srcBeing, param1,
- static_cast<AttackTypeT>(type), 1);
+ static_cast<AttackTypeT>(type), 1, 1);
}
break;
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index b1daece88..2e3080989 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1228,7 +1228,7 @@ void BeingRecv::processBeingAction2(Net::MessageIn &msg)
{
// level not present, using 1
dstBeing->takeDamage(srcBeing, param1,
- static_cast<AttackTypeT>(type), 1);
+ static_cast<AttackTypeT>(type), 1, 1);
}
break;