mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 09:11:21 +00:00
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
ddba6e80f7
commit
ac34fdf129
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ boolean P_SetMobjState(mobj_t *mobj, statenum_t state)
|
|||
statenum_t tempstate[NUMSTATES]; // for use with recursion
|
||||
|
||||
if (mobj->player != NULL)
|
||||
P_SetPlayerMobjState(mobj, state);
|
||||
return P_SetPlayerMobjState(mobj, state);
|
||||
|
||||
if (recursion++) // if recursion detected,
|
||||
memset(seenstate = tempstate, 0, sizeof tempstate); // clear state table
|
||||
|
|
Loading…
Reference in a new issue