summaryrefslogtreecommitdiff
path: root/source/mvd_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-09-15 13:02:03 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-09-15 13:02:03 +0000
commitf1d3f84f3be83dc13b3a066b34d99b15716a1b6c (patch)
tree06c1f944ba142d1c674babb8668dfc8f3eb25fdb /source/mvd_parse.c
parent9f7bca764a525566a911d6b5237fbea0f53c7adc (diff)
Upgraded Windows PNG library and headers to 1.20.20.
Fixed some MSVC compile time warnings. Added USE_MAPCHECKSUM configuration macro.
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r--source/mvd_parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c
index ae06936..ebf3e9a 100644
--- a/source/mvd_parse.c
+++ b/source/mvd_parse.c
@@ -869,9 +869,11 @@ static void MVD_ParseServerData( mvd_t *mvd ) {
Com_Printf( "Loading %s...\n", string );
CM_LoadMap( &mvd->cm, string, CM_LOAD_VISONLY, &checksum );
+#if USE_MAPCHECKSUM
if( checksum != atoi( mvd->configstrings[CS_MAPCHECKSUM] ) ) {
MVD_Destroy( mvd, "Local map version differs from server" );
}
+#endif
// get the spawn point for spectators
MVD_ParseEntityString( mvd );