mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
Fixed flags when demoting interactive portals
Interactive portals demoted to visual due to not having a back-sector would not have their interactive flag properly cleared.
This commit is contained in:
parent
4884a1f785
commit
9e07babde5
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ void P_UpdatePortal(FLinePortal *port)
|
|||
{
|
||||
Printf(TEXTCOLOR_RED "Warning: Traversable portals must have a back-sector and empty space behind them (or be on a polyobject)! Changing line %d to visual-portal!\n", port->mOrigin->Index());
|
||||
port->mType = PORTT_VISUAL;
|
||||
port->mDefFlags &= ~(PORTF_PASSABLE | PORTF_SOUNDTRAVERSE);
|
||||
port->mDefFlags &= ~(PORTF_PASSABLE | PORTF_SOUNDTRAVERSE | PORTF_INTERACTIVE);
|
||||
}
|
||||
|
||||
if (port->mDestination == nullptr)
|
||||
|
|
Loading…
Reference in a new issue