mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- removed PortalGroup == 0 check. This would only be valid if there's only linked portals in the map.
This commit is contained in:
parent
c7bce8b346
commit
d8d3889452
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ void P_NormalizeVXVY(fixed_t& vx, fixed_t& vy)
|
|||
fixedvec2 P_GetOffsetPosition(AActor *actor, fixed_t dx, fixed_t dy)
|
||||
{
|
||||
fixedvec3 dest = { actor->X() + dx, actor->Y() + dy };
|
||||
if (PortalBlockmap.containsLines && actor->Sector->PortalGroup != 0)
|
||||
if (PortalBlockmap.containsLines)
|
||||
{
|
||||
fixed_t actx = actor->X(), acty = actor->Y();
|
||||
FLinePortalTraverse it;
|
||||
|
|
Loading…
Reference in a new issue