MI made a good argument for bossdisabled not being conditional on fromnetsave.

This commit is contained in:
toaster 2019-08-03 12:09:18 +01:00
parent 8fa0641e99
commit 105df2395d

View file

@ -6422,9 +6422,9 @@ void P_SpawnSpecials(INT32 fromnetsave)
// This used to be used, and *should* be used in the future, // This used to be used, and *should* be used in the future,
// but currently isn't. // but currently isn't.
//(void)fromnetsave; -- hooray, it's used! (void)fromnetsave;
if (!fromnetsave) // yep, we do this here - "bossdisabled" is considered an apparatus of specials.
bossdisabled = 0; bossdisabled = 0;
// Init special SECTORs. // Init special SECTORs.
@ -7325,8 +7325,6 @@ void P_SpawnSpecials(INT32 fromnetsave)
lines[i].tag); lines[i].tag);
break; break;
} }
if (fromnetsave)
break;
if (!(lines[i].flags & ML_NOCLIMB)) if (!(lines[i].flags & ML_NOCLIMB))
{ {
bossdisabled |= (1<<bossid); // gotta disable in the first place to enable bossdisabled |= (1<<bossid); // gotta disable in the first place to enable