- added NULL pointer check in AActor::ClearInterpolation.

This commit is contained in:
Christoph Oelckers 2016-02-26 18:05:58 +01:00
parent 7da8112f12
commit 451cac457b

View file

@ -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;
}