mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-04 02:11:15 +00:00
Don't steer toward rings when you have Thunder Shield
This commit is contained in:
parent
96d69785bf
commit
39964491e2
1 changed files with 2 additions and 1 deletions
|
|
@ -528,7 +528,8 @@ static inline boolean K_BotSteerObjects(mobj_t *thing)
|
|||
|
||||
if ((RINGTOTAL(botmo->player) < 20 && !botmo->player->kartstuff[k_ringlock]
|
||||
&& P_CanPickupItem(botmo->player, 0))
|
||||
&& (!thing->extravalue1))
|
||||
&& !thing->extravalue1
|
||||
&& (botmo->player->kartstuff[k_itemtype] != KITEM_THUNDERSHIELD))
|
||||
{
|
||||
K_SteerFromObject(botmo, thing, true, (RINGTOTAL(botmo->player) <= 0 ? 2*KART_FULLTURN : KART_FULLTURN));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue