better, better error message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5852 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
RandumKiwi
2010-11-14 04:10:43 +00:00
parent 327fdb6d1f
commit e09943948a
2 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -658,7 +658,9 @@ bool securemapcheck(const char *map, bool msg)
if(strstr(map, "maps/")==map || strstr(map, "maps\\")==map) map += strlen("maps/");
loopv(securemaps) if(!strcmp(securemaps[i], map))
{
if(msg) conoutf(_("%c3map %s is secured, you can not send, receive or overwrite it"), CC, map);
if(msg) conoutf(_("%c3%s is a secured map, you CAN\'T send, receive or overwrite it"), CC, map);
conoutf(_("%c3if you\'re connected to a server, you or the server are running an outdated game."), CC);
conoutf(_("%c3you can check for updates at %c1http://assault.cubers.net/download.html"), CC, CC);
return true;
}
return false;