set demo_insurance = 0 (#380)

* set demo_insurance = 0

* keep original code

* remove default_demo_insurance
This commit is contained in:
Roman Fomin 2021-12-17 21:47:00 +07:00 committed by GitHub
parent 1241bf146c
commit 35f869f4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 10 deletions

View File

@ -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

View File

@ -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);

View File

@ -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,