Added MISSIONPACK ifdef around GT_1FCTF code.

This commit is contained in:
Zack Middleton committed 2012-08-17 06:18:37 +00:00
1 parent b82c02fc03
commit 9a69b738bf
2 files changed
+8 -1

No files matched your search

+6 -1
View File
@@ -131,7 +131,12 @@ int BotSortTeamMatesByBaseTravelTime(bot_state_t *bs, int *teammates, int maxtea
int traveltimes[MAX_CLIENTS];
bot_goal_t *goal = NULL;
if (gametype == GT_CTF || gametype == GT_1FCTF) {
#ifdef MISSIONPACK
if (gametype == GT_CTF || gametype == GT_1FCTF)
#else
if (gametype == GT_CTF)
#endif
{
if (BotTeam(bs) == TEAM_RED)
goal = &ctf_redflag;
else