summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-21 04:05:46 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-21 04:05:46 +0200
commit7be91e6213aadb0405bdd2fa3a9210598b254041 (patch)
treedb0d43813e604c28f20ca74b7a707c9e35326f9f /src/game.cpp
parent1edb1cbc3b1dabad1fc366bbefb5ba8d0060a7ab (diff)
downloadmanaverse-7be91e6213aadb0405bdd2fa3a9210598b254041.tar.gz
manaverse-7be91e6213aadb0405bdd2fa3a9210598b254041.tar.bz2
manaverse-7be91e6213aadb0405bdd2fa3a9210598b254041.tar.xz
manaverse-7be91e6213aadb0405bdd2fa3a9210598b254041.zip
Show network error dialog as not modal.
This fix stuck client in some situations. Also prevent server change if now disconnected.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4f8bad0ce..f5565b71e 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -485,7 +485,7 @@ void Game::logic()
if (!disconnectedDialog)
{
disconnectedDialog = new OkDialog(_("Network Error"),
- errorMessage);
+ errorMessage, false);
disconnectedDialog->addActionListener(&errorListener);
disconnectedDialog->requestMoveToTop();
}