mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
# Conflicts: # src/p_map.cpp
This commit is contained in:
commit
0720dd9816
1 changed files with 1 additions and 7 deletions
|
@ -869,12 +869,6 @@ bool PIT_CheckLine(FMultiBlockLinesIterator &mit, FMultiBlockLinesIterator::Chec
|
||||||
if (tm.thing->Z() < portz && tm.thing->Z() + tm.thing->MaxStepHeight >= portz && tm.floorz < portz)
|
if (tm.thing->Z() < portz && tm.thing->Z() + tm.thing->MaxStepHeight >= portz && tm.floorz < portz)
|
||||||
{
|
{
|
||||||
// Actor is stepping through a portal.
|
// Actor is stepping through a portal.
|
||||||
/*
|
|
||||||
tm.floorz = portz;
|
|
||||||
tm.floorsector = oppsec;
|
|
||||||
tm.floorpic = cres.line->sidedef[0]->GetTexture(side_t::mid);
|
|
||||||
tm.floorterrain = 0;
|
|
||||||
*/
|
|
||||||
tm.portalstep = true;
|
tm.portalstep = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -2150,7 +2144,7 @@ bool P_TryMove(AActor *thing, const DVector2 &pos,
|
||||||
goto pushline;
|
goto pushline;
|
||||||
}
|
}
|
||||||
else if (BlockingMobj->Top() - thing->Z() > thing->MaxStepHeight
|
else if (BlockingMobj->Top() - thing->Z() > thing->MaxStepHeight
|
||||||
|| (BlockingMobj->Sector->ceilingplane.ZatPoint(pos) - (BlockingMobj->Top()) < thing->Height)
|
|| ((BlockingMobj->Sector->ceilingplane.ZatPoint(pos) - (BlockingMobj->Top()) < thing->Height) && BlockingMobj->Sector->PortalBlocksMovement(sector_t::ceiling))
|
||||||
|| (tm.ceilingz - (BlockingMobj->Top()) < thing->Height))
|
|| (tm.ceilingz - (BlockingMobj->Top()) < thing->Height))
|
||||||
{
|
{
|
||||||
goto pushline;
|
goto pushline;
|
||||||
|
|
Loading…
Reference in a new issue