ref: 5a58a336854b218b35704cee984430d69b7a8e77
parent: 28cb8e96cabe2d87a86b5045c4d38dc81d9137ac
author: Fabian Greffrath <fabian@greffrath.com>
date: Mon Mar 18 13:16:17 EDT 2019
doc: document the -shorttics command line option Fixes: #1143, thanks @Zodomaniac!
--- a/src/doom/d_net.c
+++ b/src/doom/d_net.c
@@ -157,6 +157,8 @@
static void InitConnectData(net_connect_data_t *connect_data)
{
+ boolean shorttics;
+
connect_data->max_players = MAXPLAYERS;
connect_data->drone = false;
@@ -193,11 +195,19 @@
connect_data->gamemode = gamemode;
connect_data->gamemission = gamemission;
+ //!
+ // @category demo
+ //
+ // Play with low turning resolution to emulate demo recording.
+ //
+
+ shorttics = M_ParmExists("-shorttics");
+
// Are we recording a demo? Possibly set lowres turn mode
connect_data->lowres_turn = (M_ParmExists("-record")
&& !M_ParmExists("-longtics"))
- || M_ParmExists("-shorttics");
+ || shorttics;
// Read checksums of our WAD directory and dehacked information