diff --git a/src/client/cl_main.c b/src/client/cl_main.c index 31e6f8cd..6747bfa7 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -1312,7 +1312,7 @@ void CL_RequestNextDownload (void) CM_LoadMap (cl.configstrings[CS_MODELS+1], true, &map_checksum); - if (map_checksum != strtoul(cl.configstrings[CS_MAPCHECKSUM], NULL, 10)) { + if (map_checksum != atoi(cl.configstrings[CS_MAPCHECKSUM])) { Com_Error (ERR_DROP, "Local map version differs from server: %i != '%s'\n", map_checksum, cl.configstrings[CS_MAPCHECKSUM]); return;