mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- added NULL pointer check in AActor::ClearInterpolation.
This commit is contained in:
parent
7da8112f12
commit
451cac457b
1 changed files with 2 additions and 1 deletions
|
@ -1289,7 +1289,8 @@ inline void AActor::ClearInterpolation()
|
|||
PrevY = Y();
|
||||
PrevZ = Z();
|
||||
PrevAngle = angle;
|
||||
PrevPortalGroup = Sector->PortalGroup;
|
||||
if (Sector) PrevPortalGroup = Sector->PortalGroup;
|
||||
else PrevPortalGroup = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue