mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 16:31:03 +00:00
fix flickering flight indicator
This commit is contained in:
parent
71736f358f
commit
20cd8cefd1
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ static void B_BuildTailsTiccmd(mobj_t *sonic, mobj_t *tails, ticcmd_t *cmd)
|
||||||
&& !(pcmd->forwardmove || pcmd->sidemove || player->dashspeed)
|
&& !(pcmd->forwardmove || pcmd->sidemove || player->dashspeed)
|
||||||
&& P_IsObjectOnGround(sonic) && P_IsObjectOnGround(tails)
|
&& P_IsObjectOnGround(sonic) && P_IsObjectOnGround(tails)
|
||||||
&& !(player->pflags & PF_STASIS)
|
&& !(player->pflags & PF_STASIS)
|
||||||
|
&& !(player->exiting)
|
||||||
&& bot->charability == CA_FLY)
|
&& bot->charability == CA_FLY)
|
||||||
mem->thinkstate = AI_THINKFLY;
|
mem->thinkstate = AI_THINKFLY;
|
||||||
else if (mem->thinkstate == AI_THINKFLY)
|
else if (mem->thinkstate == AI_THINKFLY)
|
||||||
|
|
Loading…
Reference in a new issue