From f4462a7b93312a9b50e8011a68ef0967326d08ed Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 25 Sep 2016 09:43:17 +0200 Subject: [PATCH] - 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. --- src/dsectoreffect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dsectoreffect.cpp b/src/dsectoreffect.cpp index 78e00e6b0..815b49dc4 100644 --- a/src/dsectoreffect.cpp +++ b/src/dsectoreffect.cpp @@ -60,6 +60,7 @@ void DSectorEffect::Destroy() } DSectorEffect::DSectorEffect (sector_t *sector) + : DThinker(STAT_SECTOREFFECT) { m_Sector = sector; }