From aad78d49856ba7e09a849318af5747f8ec6798e0 Mon Sep 17 00:00:00 2001 From: Nev3r Date: Sun, 21 Apr 2019 12:00:10 +0200 Subject: [PATCH] Give slope thinkers their own list right before mobjs'. Signed-off-by: Nev3r --- src/p_local.h | 1 + src/p_slopes.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_local.h b/src/p_local.h index b0c22767b..23de23c85 100644 --- a/src/p_local.h +++ b/src/p_local.h @@ -64,6 +64,7 @@ typedef enum{ THINK_POLYOBJ, THINK_MAIN, + THINK_DYNSLOPE, THINK_MOBJ, NUM_THINKERLISTS } thinklistnum_t; /**< Thinker lists. */ diff --git a/src/p_slopes.c b/src/p_slopes.c index 6aee9fcff..e4b41419d 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -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); }