summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-16 17:21:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-16 17:21:24 +0300
commit396b3e298b21677ebe3c6f5c2f5b837ac25625f2 (patch)
tree01cfca3609db046afebe5c9e11ba0a5a803e378f /src/net/ea/playerhandler.cpp
parente50013d92b22faeffb8711d07a8f344ab71e9e57 (diff)
downloadmanaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.gz
manaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.bz2
manaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.tar.xz
manaplus-396b3e298b21677ebe3c6f5c2f5b837ac25625f2.zip
Move dialog type 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 efaee8857..065ac6365 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -305,7 +305,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg)
// TRANSLATORS: weight message
_("You are carrying more than "
"half your weight. You are "
- "unable to regain health."), DIALOG_OK, false);
+ "unable to regain health."), DialogType::OK, false);
weightNotice->addActionListener(
&weightListener);
}
@@ -317,7 +317,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg)
// TRANSLATORS: weight message
_("You are carrying less than "
"half your weight. You "
- "can regain health."), DIALOG_OK, false);
+ "can regain health."), DialogType::OK, false);
weightNotice->addActionListener(
&weightListener);
}
@@ -398,7 +398,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg)
{
// TRANSLATORS: message header
deathNotice = new OkDialog(_("Message"),
- DeadDB::getRandomString(), DIALOG_OK, false);
+ DeadDB::getRandomString(), DialogType::OK, false);
deathNotice->addActionListener(&deathListener);
if (player_node->getCurrentAction() != BeingAction::DEAD)
{