diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-06 16:37:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-06 16:37:19 +0300 |
commit | 7dfe062b9e33d863d23455453aae12ba592aac8b (patch) | |
tree | 62300b19a88dac0e67b2fe90fbec4eed8f93d39e /src/net/ea/playerhandler.cpp | |
parent | 0f25d6e3defc9a6cd1cc2cd23b522abf8734c837 (diff) | |
download | plus-7dfe062b9e33d863d23455453aae12ba592aac8b.tar.gz plus-7dfe062b9e33d863d23455453aae12ba592aac8b.tar.bz2 plus-7dfe062b9e33d863d23455453aae12ba592aac8b.tar.xz plus-7dfe062b9e33d863d23455453aae12ba592aac8b.zip |
remove unused includes and remove default parameter in being.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 31359ae37..d3667b78a 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -198,7 +198,7 @@ void PlayerHandler::processPlayerWarp(Net::MessageIn &msg) const } } - player_node->setAction(Being::STAND); + player_node->setAction(Being::STAND, 0); player_node->setTileCoords(x, y); player_node->updatePets(); player_node->navigateClean(); @@ -398,7 +398,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg) const deathNotice->addActionListener(&deathListener); if (player_node->getCurrentAction() != Being::DEAD) { - player_node->setAction(Being::DEAD); + player_node->setAction(Being::DEAD, 0); player_node->recalcSpritesOrder(); } } |