fix b0rkiness

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5856 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
RandumKiwi
2010-11-14 07:40:09 +00:00
parent 773c3ee62e
commit 8a4d5ef6d9
+4 -1
View File
@@ -658,9 +658,12 @@ 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(_("%c3%s is a secured map, you CAN\'T 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);
if(connected) conoutf(_("%c3you or the server are running an outdated game, check for updates at %c1http://assault.cubers.net/download.html"), CC, CC);
return true;
}
}
return false;
}