- Fixed a design flaw in the thinker system:

Having every single actor default to the highest available statnum means that 
  nothing can be placed in a slot where it is guaranteed to be run after all actors 
  have ticked. But this is required for any thinker that moves an actor 
  (i.e. AActorMover and DSectorEffect.) With DSectorEffect it just went unnoticed 
  because they were added at the end of the list so almost nothing they moved was
  behind them in a thinker list. However, when an actor was spawned on a moving 
  floor it did not move smoothly. The default statnum is now 100 so that there's 
  sufficient slots above where such thinkers can be placed.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@691 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2009-12-30 19:02:20 +00:00
parent a4d1f4d5b2
commit 4df6f92af2
9 changed files with 40 additions and 41 deletions

View file

@ -392,9 +392,9 @@ bool P_TeleportMove (AActor *thing, fixed_t x, fixed_t y, fixed_t z, bool telefr
R_ResetViewInterpolation ();
}
thing->LastX = thing->PrevX = x;
thing->LastY = thing->PrevY = y;
thing->LastZ = thing->PrevZ = z;
thing->PrevX = x;
thing->PrevY = y;
thing->PrevZ = z;
return true;
}