- 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.)


SVN r2059 (trunk)
This commit is contained in:
Christoph Oelckers 2009-12-30 12:20:47 +00:00
commit 26c33afafb
9 changed files with 62 additions and 27 deletions

View file

@ -142,9 +142,9 @@ bool P_MoveThing(AActor *source, fixed_t x, fixed_t y, fixed_t z, bool fog)
Spawn<ATeleportFog> (x, y, z + TELEFOGHEIGHT, ALLOW_REPLACE);
Spawn<ATeleportFog> (oldx, oldy, oldz + TELEFOGHEIGHT, ALLOW_REPLACE);
}
source->PrevX=x;
source->PrevY=y;
source->PrevZ=z;
source->LastX = source->PrevX = x;
source->LastY = source->PrevY = y;
source->LastZ = source->PrevZ = z;
return true;
}
else