summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-05-09 07:39:04 +0200
committerHaru <haru@dotalux.com>2014-05-09 07:40:42 +0200
commit237cb680d7f278afe9f6dd988ae6af94982d0b6f (patch)
tree6bd3d9cf0280e1f2022d08642e481691dc87e086
parent272159065256fe4b5f8f45dae40264b2ea98248d (diff)
downloadhercules-237cb680d7f278afe9f6dd988ae6af94982d0b6f.tar.gz
hercules-237cb680d7f278afe9f6dd988ae6af94982d0b6f.tar.bz2
hercules-237cb680d7f278afe9f6dd988ae6af94982d0b6f.tar.xz
hercules-237cb680d7f278afe9f6dd988ae6af94982d0b6f.zip
Removed extra 'Map cache is corrupted' message
- The message was unconditionally displaying, regardless of errors. Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/map/map.c1
1 files changed, 0 insertions, 1 deletions
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);