mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-23 22:11:01 +00:00
Update to 9/25 Lua script
This commit is contained in:
parent
578d7f8a79
commit
1d74a0c29a
1 changed files with 6 additions and 4 deletions
10
src/b_bot.c
10
src/b_bot.c
|
|
@ -223,11 +223,13 @@ static inline void B_BuildTailsTiccmd(mobj_t *sonic, mobj_t *tails, ticcmd_t *cm
|
|||
cmd->forwardmove = 50;
|
||||
spinmode = true;
|
||||
}
|
||||
else if (dist < touchdist && !bmom
|
||||
&& (!(bot->pflags & PF_SPINNING) || (bot->dashspeed && bot->pflags & PF_SPINNING)))
|
||||
else if (dist < touchdist)
|
||||
{
|
||||
cmd->angleturn = (sonic->angle - tails->angle) >> FRACBITS;
|
||||
spin = true;
|
||||
if (!bmom && (!(bot->pflags & PF_SPINNING) || (bot->dashspeed && bot->pflags & PF_SPINNING)))
|
||||
{
|
||||
cmd->angleturn = (sonic->angle - tails->angle) >> FRACBITS;
|
||||
spin = true;
|
||||
}
|
||||
spinmode = true;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue