- fixed: Any DSectorEffect thinker must be placed into STAT_SECTOREFFECT.

The slot had been there forever to address this same problem but only one of the two constructors actually set it, too bad that it was the wrong one...

This is something that normally won't be noticed. But if some actor is spawned on a moving platform, with both thinkers on the same statnum it means that the order of execution is not correct with the platform being done first, resulting in the actor to 'jump' while the platform is moving. To prevent this it is necessary that all sector movers only tick after all actors have completed their thinking turn.
This commit is contained in:
Christoph Oelckers 2016-09-25 09:43:17 +02:00
parent 92d0043a81
commit f4462a7b93

View file

@ -60,6 +60,7 @@ void DSectorEffect::Destroy()
}
DSectorEffect::DSectorEffect (sector_t *sector)
: DThinker(STAT_SECTOREFFECT)
{
m_Sector = sector;
}