mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-15 17:21:34 +00:00
Bugfix sad chao jumping in their sad state
This commit is contained in:
parent
395a83a56c
commit
fd721d3761
1 changed files with 2 additions and 0 deletions
|
@ -8958,6 +8958,8 @@ void P_SceneryThinker(mobj_t *mobj)
|
|||
if (((statenum_t)(mobj->state-states) != S_AUDIENCE_CHAO_CHEER2) || (mobj->tics != states[S_AUDIENCE_CHAO_CHEER2].tics)) // not at the start of your cheer jump?
|
||||
return;
|
||||
|
||||
mobj->momz = 0;
|
||||
|
||||
P_SetMobjState(mobj, ((mobj->threshold == -1) ? S_AUDIENCE_CHAO_WIN2 : S_AUDIENCE_CHAO_LOSE));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue