mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-26 04:30:55 +00:00
Give precip. its own thinker list
Signed-off-by: Nev3r <apophycens@gmail.com>
This commit is contained in:
parent
8cb0f55a90
commit
fc9e141460
2 changed files with 2 additions and 1 deletions
|
@ -66,6 +66,7 @@ typedef enum{
|
|||
THINK_MAIN,
|
||||
THINK_DYNSLOPE,
|
||||
THINK_MOBJ,
|
||||
THINK_PRECIP,
|
||||
NUM_THINKERLISTS
|
||||
} thinklistnum_t; /**< Thinker lists. */
|
||||
extern thinker_t thlist[];
|
||||
|
|
|
@ -9122,7 +9122,7 @@ static precipmobj_t *P_SpawnPrecipMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype
|
|||
mobj->momz = mobjinfo[type].speed;
|
||||
|
||||
mobj->thinker.function.acp1 = (actionf_p1)P_NullPrecipThinker;
|
||||
P_AddThinker(THINK_MOBJ, &mobj->thinker);
|
||||
P_AddThinker(THINK_PRECIP, &mobj->thinker);
|
||||
|
||||
CalculatePrecipFloor(mobj);
|
||||
|
||||
|
|
Loading…
Reference in a new issue