mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Fix bot prediction finally pointer
This commit is contained in:
parent
c4b7c9c39b
commit
cfec5973c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1500,7 +1500,7 @@ static void K_BuildBotTiccmdNormal(player_t *player, ticcmd_t *cmd)
|
||||||
precise_t t = 0;
|
precise_t t = 0;
|
||||||
|
|
||||||
botprediction_t *predict = nullptr;
|
botprediction_t *predict = nullptr;
|
||||||
auto predict_finally = srb2::finally([predict]() { Z_Free(predict); });
|
auto predict_finally = srb2::finally([&predict]() { Z_Free(predict); });
|
||||||
|
|
||||||
boolean trySpindash = true;
|
boolean trySpindash = true;
|
||||||
angle_t destangle = 0;
|
angle_t destangle = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue