From 35f869f4d17a7861448e0065fe3da7a3b63b7fe6 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Fri, 17 Dec 2021 21:47:00 +0700 Subject: [PATCH] set demo_insurance = 0 (#380) * set demo_insurance = 0 * keep original code * remove default_demo_insurance --- Source/doomstat.h | 2 +- Source/g_game.c | 4 ++-- Source/m_misc.c | 7 ------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Source/doomstat.h b/Source/doomstat.h index 1613298b..d36ca20a 100644 --- a/Source/doomstat.h +++ b/Source/doomstat.h @@ -93,7 +93,7 @@ extern int pitched_sounds; extern int general_translucency; -extern int demo_insurance, default_demo_insurance; // killough 4/5/98 +extern int demo_insurance; // killough 4/5/98 // ------------------------------------------- // killough 10/98: compatibility vector diff --git a/Source/g_game.c b/Source/g_game.c index 2f011cbb..a7a2e176 100644 --- a/Source/g_game.c +++ b/Source/g_game.c @@ -2562,7 +2562,7 @@ void G_ReloadDefaults(void) G_MBFComp(); // killough 3/31/98, 4/5/98: demo sync insurance - demo_insurance = (default_demo_insurance == 1); + demo_insurance = 0; // haleyjd rngseed = time(NULL); @@ -2804,7 +2804,7 @@ void G_RecordDemo(char *name) orig_demoname = name; } - demo_insurance = mbf21 ? 0 : (default_demo_insurance!=0); // killough 12/98 + demo_insurance = 0; usergame = false; if (demoname) (free)(demoname); diff --git a/Source/m_misc.c b/Source/m_misc.c index c4acc29b..500d11d3 100644 --- a/Source/m_misc.c +++ b/Source/m_misc.c @@ -197,13 +197,6 @@ default_t defaults[] = { "1 to enable flashing HOM indicator" }, - { // killough 3/31/98 - "demo_insurance", - (config_t *) &default_demo_insurance, NULL, - {2}, {0,2},number, ss_none, wad_no, - "1=take special steps ensuring demo sync, 2=only during recordings" - }, - { // phares "weapon_recoil", (config_t *) &default_weapon_recoil, (config_t *) &weapon_recoil,