mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Prevent possible overflow, just in case
This commit is contained in:
parent
e71dcd5d7d
commit
d24be71909
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ mobj_t *Obj_CreateSpecialUFO(void)
|
|||
{
|
||||
const boolean huntbackwards = true;
|
||||
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;
|
||||
path_t pathtofinish = {0};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue