mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-28 23:02:07 +00:00
SVN r2079 (trunk)
This commit is contained in:
parent
840fc6bfa3
commit
ff95948017
3 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
January 2, 2010 (Changes by Graf Zahl)
|
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: Only ActorMovers should go into STAT_ACTORMOVER, not all PathFollowers.
|
||||||
- fixed: SBARINFO's DrawGem command accepted a size value of 0 and divided
|
- 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.
|
by it. Reinstated the old '+1' this command had in the old code.
|
||||||
|
|
|
@ -1798,6 +1798,7 @@ END_POINTERS
|
||||||
TObjPtr<DACSThinker> DACSThinker::ActiveThinker;
|
TObjPtr<DACSThinker> DACSThinker::ActiveThinker;
|
||||||
|
|
||||||
DACSThinker::DACSThinker ()
|
DACSThinker::DACSThinker ()
|
||||||
|
: DThinker(STAT_SCRIPTS)
|
||||||
{
|
{
|
||||||
if (ActiveThinker)
|
if (ActiveThinker)
|
||||||
{
|
{
|
||||||
|
|
|
@ -60,8 +60,9 @@ enum
|
||||||
STAT_MAPMARKER, // Map marker actors
|
STAT_MAPMARKER, // Map marker actors
|
||||||
|
|
||||||
STAT_DEFAULT = 100,
|
STAT_DEFAULT = 100,
|
||||||
STAT_SECTOREFFECT,
|
STAT_SECTOREFFECT, // All sector effects that cause floor and ceiling movement
|
||||||
STAT_ACTORMOVER,
|
STAT_ACTORMOVER, // actor movers
|
||||||
|
STAT_SCRIPTS, // The ACS thinker. This is to ensure that it can't tick before all actors calles PostBeginPlay
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in a new issue