- 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
|
|
@ -490,8 +490,8 @@ int P_GetFriction (const AActor *mo, int *frictionfactor)
|
|||
}
|
||||
if ((secfriction(sec) < friction || friction == ORIG_FRICTION) &&
|
||||
(mo->z <= sec->floorplane.ZatPoint (mo->x, mo->y) ||
|
||||
(sec->heightsec && !(sec->heightsec->MoreFlags & SECF_IGNOREHEIGHTSEC) &&
|
||||
mo->z <= sec->heightsec->floorplane.ZatPoint (mo->x, mo->y))))
|
||||
(sec->GetHeightSec() != NULL &&
|
||||
mo->z <= sec->heightsec->floorplane.ZatPoint (mo->x, mo->y))))
|
||||
{
|
||||
friction = secfriction (sec);
|
||||
movefactor = secmovefac (sec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue