mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Prevent possible overflow, just in case
This commit is contained in:
parent
eab34651bf
commit
2c5df772c8
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ mobj_t *Obj_CreateSpecialUFO(void)
|
||||||
{
|
{
|
||||||
const boolean huntbackwards = true;
|
const boolean huntbackwards = true;
|
||||||
const boolean useshortcuts = false;
|
const boolean useshortcuts = false;
|
||||||
const UINT32 traveldist = UINT32_MAX; // Go as far back as possible.
|
const UINT32 traveldist = INT32_MAX; // Go as far back as possible. Not UINT32_MAX to avoid possible overflow.
|
||||||
boolean pathfindsuccess = false;
|
boolean pathfindsuccess = false;
|
||||||
path_t pathtofinish = {0};
|
path_t pathtofinish = {0};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue