From 40ec42a42520c293c147d38f00f350f1ce44bb20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Thomas?= Date: Sun, 12 Mar 2017 22:55:49 +0100 Subject: [PATCH] Don't include (mission)pak_checksums in standalone build Avoids a compiler warning --- code/qcommon/files.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 92a9e405..3d9bff80 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -174,6 +174,7 @@ or configs will never get loaded from disk! // every time a new demo pk3 file is built, this checksum must be updated. // the easiest way to get it is to just run the game and see what it spits out +#ifndef STANDALONE #define DEMO_PAK0_CHECKSUM 2985612116u static const unsigned int pak_checksums[] = { 1566731103u, @@ -194,6 +195,7 @@ static const unsigned int missionpak_checksums[] = 2662638993u, 1438664554u }; +#endif // if this is defined, the executable positively won't work with any paks other // than the demo pak, even if productid is present. This is only used for our