summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 19:51:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 19:51:59 +0300
commit58c319a56a70588b59868099c659f70209a60be1 (patch)
tree8f964df390f54834bf3a6b4b9d2eeeec66d1b3f8 /src/net/ea
parent2bd61993e4b8cb190fbbbcf620f4901636404d48 (diff)
downloadmanaplus-58c319a56a70588b59868099c659f70209a60be1.tar.gz
manaplus-58c319a56a70588b59868099c659f70209a60be1.tar.bz2
manaplus-58c319a56a70588b59868099c659f70209a60be1.tar.xz
manaplus-58c319a56a70588b59868099c659f70209a60be1.zip
Remove default parameters from localplayer.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/playerrecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp
index 2f0e5782f..493e80a5e 100644
--- a/src/net/ea/playerrecv.cpp
+++ b/src/net/ea/playerrecv.cpp
@@ -73,7 +73,7 @@ void PlayerRecv::processPlayerWarp(Net::MessageIn &msg)
* to changeMap, as it deletes all beings.
*/
if (localPlayer != nullptr)
- localPlayer->stopAttack();
+ localPlayer->stopAttack(false);
Game *const game = Game::instance();
if (game == nullptr)