summaryrefslogtreecommitdiff
path: root/src/net/tmwa/gamehandler.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-08-03 18:13:17 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-08-04 00:49:08 +0200
commitc3e9fbfc9a92e5d75a0d1002cfba48947718dc4d (patch)
tree59d75638ee09f7efe7bc1ab56ac3fe1ac3e4cf49 /src/net/tmwa/gamehandler.cpp
parent98abc793f8fb45d647e1e8c51cf5f38170c6b703 (diff)
downloadmana-client-c3e9fbfc9a92e5d75a0d1002cfba48947718dc4d.tar.gz
mana-client-c3e9fbfc9a92e5d75a0d1002cfba48947718dc4d.tar.bz2
mana-client-c3e9fbfc9a92e5d75a0d1002cfba48947718dc4d.tar.xz
mana-client-c3e9fbfc9a92e5d75a0d1002cfba48947718dc4d.zip
Changed the stats.xml to attributes.xml according to the server commit.
Also, fixed a compilation warning about passing a NULL value to a boolean parameter. The built-ins are kept for now. Reviewed-by: Jaxad0127.
Diffstat (limited to 'src/net/tmwa/gamehandler.cpp')
-rw-r--r--src/net/tmwa/gamehandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp
index 179d98e4..435d5d30 100644
--- a/src/net/tmwa/gamehandler.cpp
+++ b/src/net/tmwa/gamehandler.cpp
@@ -98,7 +98,8 @@ void GameHandler::handleMessage(Net::MessageIn &msg)
case SMSG_MAP_QUIT_RESPONSE:
if (msg.readInt8())
{
- new OkDialog(_("Game"), _("Request to quit denied!"), NULL);
+ new OkDialog(_("Game"), _("Request to quit denied!"), false,
+ NULL);
}
break;
}