mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
We don't have *one* Single Player mode - we have as many gametypes as there are, now.
This commit is contained in:
parent
8431e52687
commit
59bc094fac
1 changed files with 1 additions and 8 deletions
|
|
@ -2880,8 +2880,7 @@ static void Command_Map_f(void)
|
||||||
mapheaderinfo[newmapnum-1]->typeoflevel & G_TOLFlag(newgametype)
|
mapheaderinfo[newmapnum-1]->typeoflevel & G_TOLFlag(newgametype)
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_WARNING, M_GetText("%s (%s) doesn't support %s mode!\n(Use -force to override)\n"), realmapname, G_BuildMapName(newmapnum),
|
CONS_Alert(CONS_WARNING, M_GetText("%s (%s) doesn't support %s mode!\n(Use -force to override)\n"), realmapname, G_BuildMapName(newmapnum), (gametype_cons_t[newgametype].strvalue));
|
||||||
(multiplayer ? gametype_cons_t[newgametype].strvalue : "Single Player"));
|
|
||||||
Z_Free(realmapname);
|
Z_Free(realmapname);
|
||||||
Z_Free(mapname);
|
Z_Free(mapname);
|
||||||
return;
|
return;
|
||||||
|
|
@ -4807,12 +4806,6 @@ static void Command_ShowGametype_f(void)
|
||||||
{
|
{
|
||||||
const char *gametypestr = NULL;
|
const char *gametypestr = NULL;
|
||||||
|
|
||||||
if (!(netgame || multiplayer)) // print "Single player" instead of "Race"
|
|
||||||
{
|
|
||||||
CONS_Printf(M_GetText("Current gametype is %s\n"), "Single Player");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// get name string for current gametype
|
// get name string for current gametype
|
||||||
if (gametype >= 0 && gametype < gametypecount)
|
if (gametype >= 0 && gametype < gametypecount)
|
||||||
gametypestr = Gametype_Names[gametype];
|
gametypestr = Gametype_Names[gametype];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue