diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-18 10:44:36 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-18 10:44:36 +0000 |
| commit | 305e7fbff778776109c1f15ef2e19642bb7b1625 (patch) | |
| tree | 8e0fd6adb0483a82810ccbd803cba38eab53f293 /src/engine/client/ec_client.c | |
| parent | e858ed13109f3e2bf875c098a4c6e475402db022 (diff) | |
| download | zcatch-305e7fbff778776109c1f15ef2e19642bb7b1625.tar.gz zcatch-305e7fbff778776109c1f15ef2e19642bb7b1625.zip | |
reenabled the crc checking of maps on the client
Diffstat (limited to 'src/engine/client/ec_client.c')
| -rw-r--r-- | src/engine/client/ec_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c index e6d26e37..82d7a174 100644 --- a/src/engine/client/ec_client.c +++ b/src/engine/client/ec_client.c @@ -709,7 +709,7 @@ static const char *client_load_map(const char *name, const char *filename, int w /* get the crc of the map */ crc = datafile_crc(filename); - if(0 && crc != wanted_crc) /* TODO: FIX ME!!! */ + if(crc != wanted_crc) { datafile_unload(df); str_format(errormsg, sizeof(errormsg), "map differs from the server. %08x != %08x", crc, wanted_crc); |