mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
A bit redundant
This commit is contained in:
parent
f442b934cc
commit
38ec153e90
1 changed files with 1 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ static botprediction_t *K_CreateBotPrediction(player_t *player)
|
||||||
wp->nextwaypoints[nwp]->mobj->x, wp->nextwaypoints[nwp]->mobj->y
|
wp->nextwaypoints[nwp]->mobj->x, wp->nextwaypoints[nwp]->mobj->y
|
||||||
);
|
);
|
||||||
|
|
||||||
disttonext = (wp->nextwaypointdistances[nwp] * FRACUNIT) / FRACUNIT;
|
disttonext = (INT32)wp->nextwaypointdistances[nwp];
|
||||||
|
|
||||||
if (disttonext > distanceleft)
|
if (disttonext > distanceleft)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue