diff options
-rw-r--r-- | src/game.cpp | 3 | ||||
-rw-r--r-- | src/net/ea/playerhandler.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 33bfe232a..70d794ce8 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1799,7 +1799,8 @@ void Game::changeMap(const std::string &mapPath) { logger->log("Error while loading %s", fullMap.c_str()); new OkDialog(_("Could Not Load Map"), strprintf( - _("Error while loading %s"), fullMap.c_str()), DIALOG_ERROR); + _("Error while loading %s"), fullMap.c_str()), + DIALOG_ERROR, false); } if (mCurrentMap) diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index a0cddc219..bfbef0798 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -432,7 +432,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg) if (PlayerInfo::getAttribute(HP) == 0 && !deathNotice) { deathNotice = new OkDialog(_("Message"), - randomDeathMessage(), false); + randomDeathMessage(), DIALOG_OK, false); deathNotice->addActionListener(&deathListener); player_node->setAction(Being::DEAD); } |