summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beingrecv.cpp
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/tmwa/beingrecv.cpp
parent2bd61993e4b8cb190fbbbcf620f4901636404d48 (diff)
downloadmv-58c319a56a70588b59868099c659f70209a60be1.tar.gz
mv-58c319a56a70588b59868099c659f70209a60be1.tar.bz2
mv-58c319a56a70588b59868099c659f70209a60be1.tar.xz
mv-58c319a56a70588b59868099c659f70209a60be1.zip
Remove default parameters from localplayer.
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r--src/net/tmwa/beingrecv.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index b4e1df298..874c5069f 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -363,7 +363,7 @@ void BeingRecv::processPlayerUpdate1(Net::MessageIn &msg)
}
dstBeing->setHairColor(hairColor);
}
- localPlayer->imitateOutfit(dstBeing);
+ localPlayer->imitateOutfit(dstBeing, -1);
uint16_t x, y;
msg.readCoordinates(x, y, dir, "position");
@@ -507,7 +507,7 @@ void BeingRecv::processPlayerUpdate2(Net::MessageIn &msg)
}
dstBeing->setHairColor(hairColor);
}
- localPlayer->imitateOutfit(dstBeing);
+ localPlayer->imitateOutfit(dstBeing, -1);
uint16_t x, y;
msg.readCoordinates(x, y, dir, "position");
@@ -651,7 +651,7 @@ void BeingRecv::processPlayerMove(Net::MessageIn &msg)
}
dstBeing->setHairColor(hairColor);
}
- localPlayer->imitateOutfit(dstBeing);
+ localPlayer->imitateOutfit(dstBeing, -1);
uint16_t srcX, srcY, dstX, dstY;
msg.readCoordinatePair(srcX, srcY, dstX, dstY, "moving path");
@@ -1298,7 +1298,7 @@ void BeingRecv::processBeingResurrect(Net::MessageIn &msg)
// If this is player's current target, clear it.
if (dstBeing == localPlayer->getTarget())
- localPlayer->stopAttack();
+ localPlayer->stopAttack(false);
if (dstBeing == localPlayer &&
deathNotice != nullptr)
{