Reverse weather speed

Makes more logical sense on the user end for negative to go up, since most weather should be going down.

They need to SPAWN with reversed momz too :V
This commit is contained in:
Sally Coolatta 2022-05-31 09:14:19 -04:00
parent 087c15c1ef
commit 27c9d698be
2 changed files with 5 additions and 5 deletions

View file

@ -18246,7 +18246,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
S_SPLASH1, // deathstate
S_NULL, // xdeathstate
sfx_None, // deathsound
-72*FRACUNIT, // speed
72*FRACUNIT, // speed
1*FRACUNIT, // radius
8*FRACUNIT, // height
0, // display offset
@ -18273,7 +18273,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
S_NULL, // deathstate
S_NULL, // xdeathstate
sfx_None, // deathsound
-2*FRACUNIT, // speed
2*FRACUNIT, // speed
4*FRACUNIT, // radius
4*FRACUNIT, // height
0, // display offset
@ -18300,7 +18300,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
S_NULL, // deathstate
S_NULL, // xdeathstate
sfx_None, // deathsound
-24*FRACUNIT, // speed
24*FRACUNIT, // speed
4*FRACUNIT, // radius
4*FRACUNIT, // height
0, // display offset

View file

@ -3825,7 +3825,7 @@ void P_PrecipThinker(precipmobj_t *mobj)
// Reset to ceiling!
P_SetPrecipMobjState(mobj, mobj->info->spawnstate);
mobj->z = mobj->ceilingz;
mobj->momz = mobj->info->speed;
mobj->momz = -mobj->info->speed;
mobj->precipflags &= ~PCF_SPLASH;
}
@ -10371,7 +10371,7 @@ static precipmobj_t *P_SpawnPrecipMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype
mobj->ceilingrover = NULL;
mobj->z = z;
mobj->momz = info->speed;
mobj->momz = -info->speed;
mobj->thinker.function.acp1 = (actionf_p1)P_NullPrecipThinker;
P_AddThinker(THINK_PRECIP, &mobj->thinker);