mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 23:42:11 +00:00
Give slope thinkers their own list right before mobjs'.
Signed-off-by: Nev3r <apophycens@gmail.com>
This commit is contained in:
parent
11dba34f43
commit
aad78d4985
2 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@
|
||||||
typedef enum{
|
typedef enum{
|
||||||
THINK_POLYOBJ,
|
THINK_POLYOBJ,
|
||||||
THINK_MAIN,
|
THINK_MAIN,
|
||||||
|
THINK_DYNSLOPE,
|
||||||
THINK_MOBJ,
|
THINK_MOBJ,
|
||||||
NUM_THINKERLISTS
|
NUM_THINKERLISTS
|
||||||
} thinklistnum_t; /**< Thinker lists. */
|
} thinklistnum_t; /**< Thinker lists. */
|
||||||
|
|
|
@ -171,7 +171,7 @@ static inline void P_AddDynSlopeThinker (pslope_t* slope, dynplanetype_t type, l
|
||||||
th->slope = slope;
|
th->slope = slope;
|
||||||
th->type = type;
|
th->type = type;
|
||||||
|
|
||||||
P_AddThinker(THINK_MAIN, &th->thinker);
|
P_AddThinker(THINK_DYNSLOPE, &th->thinker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue