Skip to content

Commit

Permalink
Merge pull request #270 from mickael9/unused-warning
Browse files Browse the repository at this point in the history
Don't include (mission)pak_checksums in standalone build
  • Loading branch information
zturtleman committed May 24, 2017
2 parents 70af7e6 + 40ec42a commit 351e8f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/qcommon/files.c
Expand Up @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit 351e8f8

Please sign in to comment.