summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-12 19:12:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-12 19:12:15 +0300
commit814e88e5ca69bc54837be27429dbf42dd41f7ac6 (patch)
tree301671c06b758239f9b05b3a0e4f2774e5ab3a9e /src/net/ea/playerhandler.cpp
parent261b8ab980d442d0cf1b06df244388d65f431301 (diff)
downloadplus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.gz
plus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.bz2
plus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.tar.xz
plus-814e88e5ca69bc54837be27429dbf42dd41f7ac6.zip
Move being action into separate file.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index b299edd5f..efaee8857 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -203,7 +203,7 @@ void PlayerHandler::processPlayerWarp(Net::MessageIn &msg)
}
}
- player_node->setAction(Being::STAND, 0);
+ player_node->setAction(BeingAction::STAND, 0);
player_node->setTileCoords(x, y);
player_node->updatePets();
player_node->navigateClean();
@@ -400,9 +400,9 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg)
deathNotice = new OkDialog(_("Message"),
DeadDB::getRandomString(), DIALOG_OK, false);
deathNotice->addActionListener(&deathListener);
- if (player_node->getCurrentAction() != Being::DEAD)
+ if (player_node->getCurrentAction() != BeingAction::DEAD)
{
- player_node->setAction(Being::DEAD, 0);
+ player_node->setAction(BeingAction::DEAD, 0);
player_node->recalcSpritesOrder();
}
}