From 8a4d5ef6d9004f07c89537a8cb81bd4844cb592d Mon Sep 17 00:00:00 2001 From: RandumKiwi Date: Sun, 14 Nov 2010 07:40:09 +0000 Subject: [PATCH] fix b0rkiness git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5856 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/client.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/src/client.cpp b/source/src/client.cpp index 22a24d71..77111b8c 100644 --- a/source/src/client.cpp +++ b/source/src/client.cpp @@ -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; }