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
This commit is contained in:
Rafael Barreto
2010-07-29 01:51:07 +00:00
parent 28429e4258
commit a0a744fb8c
+2 -1
View File
@@ -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