summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-08-26 01:59:35 +0300
committerMikko Tiusanen <ams@daug.net>2014-08-26 01:59:35 +0300
commitf2583a18444facda582bdf1e95e4216250d8ec2a (patch)
treed3751b19f4e1ba84d6ce353b4b45e2db0b52ae9f /src/game/g_cmds.c
parent613030b05c409cef42b0e98d5180a41f8f67c661 (diff)
Changed next layout selection to use the existing g_layouts variable.
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 21962ca..f865d93 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1477,7 +1477,7 @@ void Cmd_CallVote_f( gentity_t *ent )
{
trap_SendServerCommand( ent-g_entities,
va( "print \"%s: the next map is already set to '%s' layout '%s'\n\"",
- cmd, g_nextMap.string, g_nextLayout.string ) );
+ cmd, g_nextMap.string, g_layouts.string ) );
return;
}
@@ -1499,7 +1499,7 @@ void Cmd_CallVote_f( gentity_t *ent )
return;
}
Com_sprintf( level.voteString[ team ], sizeof( level.voteString[ team ] ),
- "set g_nextMap \"%s\"; set g_nextLayout \"%s\"", arg, reason );
+ "set g_nextMap \"%s\";set g_layouts \"%s\"", arg, reason );
Com_sprintf( level.voteDisplayString[ team ],
sizeof( level.voteDisplayString[ team ] ),
"Set the ^1next^5 map to '%s' layout '%s'", arg, reason );