From 237cb680d7f278afe9f6dd988ae6af94982d0b6f Mon Sep 17 00:00:00 2001
From: Haru <haru@dotalux.com>
Date: Fri, 9 May 2014 07:39:04 +0200
Subject: Removed extra 'Map cache is corrupted' message

- The message was unconditionally displaying, regardless of errors.

Signed-off-by: Haru <haru@dotalux.com>
---
 src/map/map.c | 1 -
 1 file changed, 1 deletion(-)

(limited to 'src/map')

diff --git a/src/map/map.c b/src/map/map.c
index 461b9cf4e..d8663fb70 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2879,7 +2879,6 @@ char *map_init_mapcache(FILE *fp) {
 		aFree(buffer);
 		return NULL;
 	}
-	ShowError("Map cache is corrupted!\r"); // If the file is totally corrupted this will allow us to warn the user
 	if( GetULong((unsigned char *)&(header.file_size)) != size ) {
 		ShowError("map_init_mapcache: Map cache is corrupted!\n");
 		aFree(buffer);
-- 
cgit v1.2.3-70-g09d2