mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 22:52:50 +00:00
Give slope thinkers their own list right before mobjs'.
Signed-off-by: Nev3r <apophycens@gmail.com>
This commit is contained in:
parent
924ed2d623
commit
79aeaa6a62
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…
Add table
Reference in a new issue