Skip to content

Commit

Permalink
Domination mode (set dom 1) and some cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raptor007 committed Feb 9, 2018
1 parent 6d7364c commit 0643726
Show file tree
Hide file tree
Showing 13 changed files with 498 additions and 61 deletions.
2 changes: 1 addition & 1 deletion source/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ GAME_OBJS = \
g_utils.o g_weapon.o \
p_client.o p_hud.o p_view.o p_weapon.o q_shared.o \
tng_stats.o tng_flashlight.o tng_irc.o tng_ini.o tng_balancer.o \
g_grapple.o
g_grapple.o a_dom.o

game$(ARCH).$(SHLIBEXT): $(GAME_OBJS)
$(DO_LINK)
Expand Down
2 changes: 1 addition & 1 deletion source/a_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ void Cmd_AutoRecord_f(edict_t * ent)

if (matchmode->value)
{
if(use_3teams->value)
if(teamCount == 3)
Com_sprintf(recstr, sizeof(recstr), "%s-%s_vs_%s_vs_%s-%s", rec_date, teams[TEAM1].name, teams[TEAM2].name, teams[TEAM3].name, level.mapname);
else
Com_sprintf(recstr, sizeof(recstr), "%s-%s_vs_%s-%s", rec_date, teams[TEAM1].name, teams[TEAM2].name, level.mapname);
Expand Down
Loading

0 comments on commit 0643726

Please sign in to comment.