From 20ecad26ce60328d3bceee654ed9356f9d0acec0 Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Sun, 23 Oct 2016 21:23:39 -0400 Subject: [PATCH] disable handling of multiplayer options in FS1 demo --- src/cmdline/cmdline.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cmdline/cmdline.cpp b/src/cmdline/cmdline.cpp index 7a83fbb..c869341 100644 --- a/src/cmdline/cmdline.cpp +++ b/src/cmdline/cmdline.cpp @@ -649,10 +649,12 @@ int parse_cmdline(const char *cmdline) // ignored (handled in main() already) } +#ifndef FS1_DEMO // is this a standalone server?? if (standalone_arg.found()) { Is_standalone = 1; } +#endif // run with no sound if ( nosound_arg.found() ) { @@ -664,6 +666,7 @@ int parse_cmdline(const char *cmdline) Cmdline_freespace_no_music = 1; } +#ifndef FS1_DEMO // should we start a network game if ( startgame_arg.found() ) { Cmdline_use_last_pilot = 1; @@ -733,6 +736,7 @@ int parse_cmdline(const char *cmdline) if(client_dodamage.found()){ Cmdline_client_dodamage = 1; } +#endif // spew pof info if(pof_spew.found()){ @@ -749,10 +753,12 @@ int parse_cmdline(const char *cmdline) Cmdline_mouse_coords = 1; } +#ifndef FS1_DEMO // net timeout if(timeout.found()){ Cmdline_timeout = timeout.get_int(); } +#endif // d3d windowed if(d3d_window.found()){ -- 2.39.2