mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Spindash warning offroad check knows about strong offroad
This commit is contained in:
parent
2fbc8346e5
commit
0e7e76b661
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ std::optional<TargetTracking::Tooltip> object_tooltip(const mobj_t* mobj)
|
||||||
.offset3d(0, 0, 32 * mobj->scale * P_MobjFlip(mobj));
|
.offset3d(0, 0, 32 * mobj->scale * P_MobjFlip(mobj));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mobj->player == stplyr && K_ApplyOffroad(stplyr) && stplyr->offroad == FRACUNIT && !stplyr->spindash
|
if (mobj->player == stplyr && K_ApplyOffroad(stplyr) && stplyr->offroad >= FRACUNIT && !stplyr->spindash
|
||||||
&& stplyr->boostpower < FRACUNIT && stplyr->speed < 2*K_GetKartSpeed(stplyr, false, false)/3)
|
&& stplyr->boostpower < FRACUNIT && stplyr->speed < 2*K_GetKartSpeed(stplyr, false, false)/3)
|
||||||
{
|
{
|
||||||
if (stplyr->itemamount &&
|
if (stplyr->itemamount &&
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue