Skip to content

Commit

Permalink
the very start of adding Race gametype
Browse files Browse the repository at this point in the history
  • Loading branch information
themuffinator committed Sep 4, 2024
1 parent adcab53 commit 635f520
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/g_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ int _gt[] = {
/* GT_STRIKE */ GTF_TEAMS | GTF_ARENA | GTF_ROUNDS | GTF_CTF | GTF_ELIMINATION,
/* GT_RR */ GTF_TEAMS | GTF_ROUNDS | GTF_ARENA,
/* GT_LMS */ GTF_ELIMINATION,
/* GT_HORDE */ GTF_ROUNDS
/* GT_HORDE */ GTF_ROUNDS,
/* GT_RACE */ GTF_ARENA,
};

// =================================================
Expand Down Expand Up @@ -1816,7 +1817,7 @@ static void CheckDMRoundState(void) {

gi.positioned_sound(world->s.origin, world, CHAN_AUTO | CHAN_RELIABLE, gi.soundindex("ctf/flagcap.wav"), 1, ATTN_NONE, 0);

if (level.round_number + 1 > roundlimit->integer) {
if (level.round_number + 1 >= roundlimit->integer) {
QueueIntermission("MATCH ENDED", false, false);
} else
Round_End();
Expand Down

0 comments on commit 635f520

Please sign in to comment.