mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 19:20:53 +00:00
Update to ZDoom r2059:
- fixed: Movement performed by actor movers was not interpolated because it happened outside the moved actor's Tick function. This got particularly obvious with moving skybox viewpoints (See Daedalus's MAP21 intro for a good example.) git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@689 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
facb76de0e
commit
7c30ee567f
11 changed files with 77 additions and 33 deletions
|
@ -392,9 +392,9 @@ bool P_TeleportMove (AActor *thing, fixed_t x, fixed_t y, fixed_t z, bool telefr
|
|||
R_ResetViewInterpolation ();
|
||||
}
|
||||
|
||||
thing->PrevX = x;
|
||||
thing->PrevY = y;
|
||||
thing->PrevZ = z;
|
||||
thing->LastX = thing->PrevX = x;
|
||||
thing->LastY = thing->PrevY = y;
|
||||
thing->LastZ = thing->PrevZ = z;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue