summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-30 23:53:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-30 23:53:26 +0300
commit3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5 (patch)
treeb39b8569b98d4bc202efb8d90ff3555a4a8ec5a5 /src/gui
parentf1a357b3ce182b0128f2cf34872f0316107b9750 (diff)
downloadmv-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.tar.gz
mv-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.tar.bz2
mv-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.tar.xz
mv-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.zip
Hide death message dialog in reconnect.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/quitdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp
index 05691c2d2..1307e198f 100644
--- a/src/gui/quitdialog.cpp
+++ b/src/gui/quitdialog.cpp
@@ -133,13 +133,13 @@ void QuitDialog::action(const gcn::ActionEvent &event)
}
else if (mLogoutQuit->isSelected())
{
- Client::closeDialogs();
+ Game::closeDialogs();
Client::setState(STATE_EXIT);
}
else if (Net::getGameHandler()->isConnected()
&& mSwitchAccountServer->isSelected())
{
- Client::closeDialogs();
+ Game::closeDialogs();
Client::setState(STATE_SWITCH_SERVER);
}
else if (mSwitchCharacter->isSelected())
@@ -147,7 +147,7 @@ void QuitDialog::action(const gcn::ActionEvent &event)
if (Client::getState() == STATE_GAME)
{
Net::getCharHandler()->switchCharacter();
- Client::closeDialogs();
+ Game::closeDialogs();
}
}
}