diff --git a/src/p_local.h b/src/p_local.h index 23de23c85..431f7318f 100644 --- a/src/p_local.h +++ b/src/p_local.h @@ -66,6 +66,7 @@ typedef enum{ THINK_MAIN, THINK_DYNSLOPE, THINK_MOBJ, + THINK_PRECIP, NUM_THINKERLISTS } thinklistnum_t; /**< Thinker lists. */ extern thinker_t thlist[]; diff --git a/src/p_mobj.c b/src/p_mobj.c index 564a23b1e..0cf309e4e 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -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);