SVN r2079 (trunk)

This commit is contained in:
Christoph Oelckers 2010-01-02 12:40:07 +00:00
parent 840fc6bfa3
commit ff95948017
3 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,6 @@
January 2, 2010 (Changes by Graf Zahl)
- fixed: The ACS thinker needs its own statnum above all actors. Otherwise
order of execution is not guaranteed.
- fixed: Only ActorMovers should go into STAT_ACTORMOVER, not all PathFollowers.
- fixed: SBARINFO's DrawGem command accepted a size value of 0 and divided
by it. Reinstated the old '+1' this command had in the old code.

View File

@ -1798,6 +1798,7 @@ END_POINTERS
TObjPtr<DACSThinker> DACSThinker::ActiveThinker;
DACSThinker::DACSThinker ()
: DThinker(STAT_SCRIPTS)
{
if (ActiveThinker)
{

View File

@ -60,8 +60,9 @@ enum
STAT_MAPMARKER, // Map marker actors
STAT_DEFAULT = 100,
STAT_SECTOREFFECT,
STAT_ACTORMOVER,
STAT_SECTOREFFECT, // All sector effects that cause floor and ceiling movement
STAT_ACTORMOVER, // actor movers
STAT_SCRIPTS, // The ACS thinker. This is to ensure that it can't tick before all actors calles PostBeginPlay
};
#endif