From 38ec153e901f71a081635f63c9ae1d38c21af47b Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 22 May 2020 20:49:33 -0400 Subject: [PATCH] A bit redundant --- src/k_bot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_bot.c b/src/k_bot.c index 6633e5e9e..b22fd5946 100644 --- a/src/k_bot.c +++ b/src/k_bot.c @@ -728,7 +728,7 @@ static botprediction_t *K_CreateBotPrediction(player_t *player) wp->nextwaypoints[nwp]->mobj->x, wp->nextwaypoints[nwp]->mobj->y ); - disttonext = (wp->nextwaypointdistances[nwp] * FRACUNIT) / FRACUNIT; + disttonext = (INT32)wp->nextwaypointdistances[nwp]; if (disttonext > distanceleft) {