diff -r 470d0571f601 -r 429a10ab4b67 core/smn_maplists.cpp --- a/core/smn_maplists.cpp Sun Dec 09 21:45:23 2007 +0000 +++ b/core/smn_maplists.cpp Mon Dec 10 03:14:54 2007 +0000 @@ -524,6 +524,10 @@ if ((fp = fopen(pMapList->path, "rt")) == NULL) { + char error_msg[255]; + strncopy(error_msg, "Unknown error", sizeof(error_msg)); + g_LibSys.GetPlatformError(error_msg, sizeof(error_msg)); + g_Logger.LogError("ReadMapList(): Could not open file \"%s\": %s\n", pMapList->path, error_msg); return false; }