- Fixed: When setting up a deep water sector with Transfer_Heights the floorclip
information of all actors in the sector needs to be updated. SVN r1600 (trunk)
This commit is contained in:
parent
e61b4b3c76
commit
273758344f
11 changed files with 49 additions and 59 deletions
|
|
@ -1108,10 +1108,9 @@ void R_SetupFrame (AActor *actor)
|
|||
// killough 3/20/98, 4/4/98: select colormap based on player status
|
||||
// [RH] Can also select a blend
|
||||
|
||||
if (viewsector->heightsec &&
|
||||
!(viewsector->heightsec->MoreFlags & SECF_IGNOREHEIGHTSEC))
|
||||
const sector_t *s = viewsector->GetHeightSec();
|
||||
if (s != NULL)
|
||||
{
|
||||
const sector_t *s = viewsector->heightsec;
|
||||
newblend = viewz < s->floorplane.ZatPoint (viewx, viewy)
|
||||
? s->bottommap
|
||||
: viewz > s->ceilingplane.ZatPoint (viewx, viewy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue