mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Solve the concern about potential tiregrease overwriting. Let the video resume at once
This commit is contained in:
parent
c58d789a07
commit
a3eab3099e
1 changed files with 4 additions and 1 deletions
|
|
@ -438,7 +438,10 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
object->player->tiregrease = greasetics; //FixedMul(greasetics << FRACBITS, finalSpeed/72) >> FRACBITS
|
if (object->player->tiregrease < greasetics)
|
||||||
|
{
|
||||||
|
object->player->tiregrease = greasetics;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue