[ioquake3] 05/136: Don't include (mission)pak_checksums in standalone build

Simon McVittie smcv at debian.org
Thu Jun 15 09:08:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 40ec42a42520c293c147d38f00f350f1ce44bb20
Author: Mickaël Thomas <mickael9 at gmail.com>
Date:   Sun Mar 12 22:55:49 2017 +0100

    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 92a9e40..3d9bff8 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list