- Dehacked fix discovered by entryway: Dehacked only changes the blue armor's

armortype. It does not touch the armor given by the megasphere.
- Changed forcewater handling so that only control sectors created by one-
  sided lines become swimmable, since there's a good chance that a two-sided
  line is creating the control sector out of a normal, accessible portion of
  the map. (See e.g. linedef 29242 of zdoomcmp1.)


SVN r1026 (trunk)
This commit is contained in:
Randy Heit 2008-06-10 01:27:24 +00:00
commit 2ca601eed1
3 changed files with 18 additions and 3 deletions

View file

@ -972,7 +972,7 @@ void P_SpawnSpecials (void)
// killough 3/7/98:
// support for drawn heights coming from different sector
case Transfer_Heights:
sec = sides[*lines[i].sidenum].sector;
sec = sides[lines[i].sidenum[0]].sector;
if (lines[i].args[1] & 2)
{
sec->MoreFlags |= SECF_FAKEFLOORONLY;
@ -985,7 +985,7 @@ void P_SpawnSpecials (void)
{
sec->MoreFlags |= SECF_UNDERWATER;
}
else if (forcewater)
else if (forcewater && lines[i].sidenum[1] == NO_SIDE)
{
sec->MoreFlags |= SECF_FORCEDUNDERWATER;
}