- some preparations for actor interpolation through wall portals.

This commit is contained in:
Christoph Oelckers 2016-02-25 00:41:31 +01:00
commit e11da06e69
12 changed files with 47 additions and 50 deletions

View file

@ -458,9 +458,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_RestoreSpecialPosition)
}
// Do not interpolate from the position the actor was at when it was
// picked up, in case that is different from where it is now.
self->PrevX = self->X();
self->PrevY = self->Y();
self->PrevZ = self->Z();
self->ClearInterpolation();
return 0;
}