mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +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