Bugfix sad chao jumping in their sad state

This commit is contained in:
toaster 2018-09-13 14:40:50 +01:00
parent 395a83a56c
commit fd721d3761

View file

@ -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));
}
}