From a0a744fb8c7ecae42f040ee10d29b65b883cc922 Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Thu, 29 Jul 2010 01:51:07 +0000 Subject: [PATCH] better explanation why some maps are blocked in 1.1 git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5473 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/serveractions.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/src/serveractions.h b/source/src/serveractions.h index 39b4c9a3..878bb0e8 100644 --- a/source/src/serveractions.h +++ b/source/src/serveractions.h @@ -84,7 +84,8 @@ struct mapaction : serveraction mapok = ( ms != NULL && mapisok(ms) && mode != GMODE_COOPEDIT) || ( mode == GMODE_COOPEDIT && !readonlymap(maploc) ); if(!mapok) { - if(notify) sendservmsg("the server does not have/support this map", caller); + defformatstring(msg)("%s", ms ? "Sorry, but this map does not satisfy some quality requisites to be played in MultiPlayer Mode" : "the server does not have this map" ); + if(notify) sendservmsg(msg, caller); } else { // check, if map supports mode