summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-16 17:22:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-16 17:22:43 +0300
commitdeab6490899aa2c80861e47ccd3f043b712cae96 (patch)
tree150f55f7983c5dcef5968682b214a9048d700508
parentd33727beb44c97959a41caeb215f30162570bf48 (diff)
downloadmanaplus-deab6490899aa2c80861e47ccd3f043b712cae96.tar.gz
manaplus-deab6490899aa2c80861e47ccd3f043b712cae96.tar.bz2
manaplus-deab6490899aa2c80861e47ccd3f043b712cae96.tar.xz
manaplus-deab6490899aa2c80861e47ccd3f043b712cae96.zip
Add error message for creation char with incorrect race.
-rw-r--r--src/net/ea/charserverhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index b05ed6b51..2dc51acf3 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -163,6 +163,9 @@ void CharServerHandler::processCharCreateFailed(Net::MessageIn &msg)
case 5:
errorMessage = _("Incorrect slot.");
break;
+ case 6:
+ errorMessage = _("Incorrect race.");
+ break;
}
new OkDialog(_("Error"), errorMessage);
if (mCharCreateDialog)