Fix the elevator in Diamond Square

This commit is contained in:
GenericHeroGuy 2025-01-25 00:34:54 +01:00
parent 05e79fbe75
commit a27f90c717
2 changed files with 2 additions and 1 deletions

View file

@ -1805,7 +1805,7 @@ static floormove_t *CreateFloorThinker(sector_t *sec)
}
dofloor = Z_Calloc(sizeof (*dofloor), PU_LEVSPEC, NULL);
P_AddThinker(THINK_MAIN, &dofloor->thinker);
P_AddThinker(udmf ? THINK_MAIN : THINK_FLOORS, &dofloor->thinker);
// make sure another floor thinker won't get started over this one
sec->floordata = dofloor;

View file

@ -69,6 +69,7 @@ typedef enum
THINK_POLYOBJ,
THINK_MAIN,
THINK_MOBJ,
THINK_FLOORS, // thanks diamond square
THINK_DYNSLOPE,
// Lists after this may exist but they do not call an