diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-30 23:40:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-30 23:40:05 +0300 |
commit | f1a357b3ce182b0128f2cf34872f0316107b9750 (patch) | |
tree | 4b68eac0109af8c6569b96f6e8ac1aebd0acc805 | |
parent | cefd145c44d73dd7c1d8739cba404418ccb74602 (diff) | |
download | manaplus-f1a357b3ce182b0128f2cf34872f0316107b9750.tar.gz manaplus-f1a357b3ce182b0128f2cf34872f0316107b9750.tar.bz2 manaplus-f1a357b3ce182b0128f2cf34872f0316107b9750.tar.xz manaplus-f1a357b3ce182b0128f2cf34872f0316107b9750.zip |
Logging state what triggered disconnect dialog creation.
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 31d41df78..a81252b6c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -569,6 +569,11 @@ void Game::logic() } Client::closeDialogs(); Client::setFramerate(config.getIntValue("fpslimit")); + if (logger) + { + logger->log("Show error message on state: %d", + Client::getState()); + } disconnectedDialog = new OkDialog(_("Network Error"), errorMessage, false); disconnectedDialog->addActionListener(&errorListener); |