Merge pull request #940 from chocolate-doom/shorttics
add a -shorttics command line option
This commit is contained in:
commit
58fee652c4
2 changed files with 7 additions and 5 deletions
|
|
@ -150,8 +150,9 @@ static void SaveGameSettings(net_gamesettings_t *settings)
|
|||
settings->respawn_monsters = respawnparm;
|
||||
settings->timelimit = timelimit;
|
||||
|
||||
settings->lowres_turn = M_CheckParm("-record") > 0
|
||||
&& M_CheckParm("-longtics") == 0;
|
||||
settings->lowres_turn = (M_ParmExists("-record")
|
||||
&& !M_ParmExists("-longtics"))
|
||||
|| M_ParmExists("-shorttics");
|
||||
}
|
||||
|
||||
static void InitConnectData(net_connect_data_t *connect_data)
|
||||
|
|
@ -194,8 +195,9 @@ static void InitConnectData(net_connect_data_t *connect_data)
|
|||
|
||||
// Are we recording a demo? Possibly set lowres turn mode
|
||||
|
||||
connect_data->lowres_turn = M_CheckParm("-record") > 0
|
||||
&& M_CheckParm("-longtics") == 0;
|
||||
connect_data->lowres_turn = (M_ParmExists("-record")
|
||||
&& !M_ParmExists("-longtics"))
|
||||
|| M_ParmExists("-shorttics");
|
||||
|
||||
// Read checksums of our WAD directory and dehacked information
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ static char *not_dedicated_options[] =
|
|||
"-deh", "-iwad", "-cdrom", "-gameversion", "-nomonsters", "-respawn",
|
||||
"-fast", "-altdeath", "-deathmatch", "-turbo", "-merge", "-af", "-as",
|
||||
"-aa", "-file", "-wart", "-skill", "-episode", "-timer", "-avg", "-warp",
|
||||
"-loadgame", "-longtics", "-extratics", "-dup", NULL,
|
||||
"-loadgame", "-longtics", "-extratics", "-dup", "-shorttics", NULL,
|
||||
};
|
||||
|
||||
static void CheckForClientOptions(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue