Give slope thinkers their own list right before mobjs'.

Signed-off-by: Nev3r <apophycens@gmail.com>
This commit is contained in:
Nev3r 2019-04-21 12:00:10 +02:00
parent 11dba34f43
commit aad78d4985
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@
typedef enum{
THINK_POLYOBJ,
THINK_MAIN,
THINK_DYNSLOPE,
THINK_MOBJ,
NUM_THINKERLISTS
} thinklistnum_t; /**< Thinker lists. */

View file

@ -171,7 +171,7 @@ static inline void P_AddDynSlopeThinker (pslope_t* slope, dynplanetype_t type, l
th->slope = slope;
th->type = type;
P_AddThinker(THINK_MAIN, &th->thinker);
P_AddThinker(THINK_DYNSLOPE, &th->thinker);
}