about summary refs log tree commit diff
path: root/src/engine/client/ec_client.c
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-19 07:27:43 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-19 07:27:43 +0000
commit1a28f88e72d581148e56e3e96895fd350e69a016 (patch)
treef39a933f0ef52e72c08a9ebb1797804b654bbf38 /src/engine/client/ec_client.c
parent0a001ce4405794340630dc4bdd5809992c6bf01e (diff)
downloadzcatch-1a28f88e72d581148e56e3e96895fd350e69a016.tar.gz
zcatch-1a28f88e72d581148e56e3e96895fd350e69a016.zip
fixed formatting for downloaded maps
Diffstat (limited to 'src/engine/client/ec_client.c')
-rw-r--r--src/engine/client/ec_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c
index 82d7a174..188200da 100644
--- a/src/engine/client/ec_client.c
+++ b/src/engine/client/ec_client.c
@@ -900,7 +900,7 @@ static void client_process_packet(NETCHUNK *packet)
 					else
 					{
 						char buf[512];
-						str_format(buf, sizeof(buf), "maps/%s_%8x.map", map, map_crc);
+						str_format(buf, sizeof(buf), "maps/%s_%08x.map", map, map_crc);
 						engine_savepath(buf, mapdownload_filename, sizeof(mapdownload_filename));
 
 						dbg_msg("client/network", "starting to download map to '%s'", mapdownload_filename);