SMUnlimited / AMAI

Advanced Melee Artificial Intelligence Mod For Warcraft 3
Other
211 stars 34 forks source link

GetIntervalCreep is it possible to fall into dead loop ? #403

Closed jzy-chitong56 closed 3 weeks ago

jzy-chitong56 commented 3 weeks ago

return GetIntervalCreep(u, lower, upper, str, anti_air_strength, false, sd) here sd not -1 but other have return GetIntervalCreep(u, lower, middle, str, anti_air_strength, allow_air, sd - 1)

SMUnlimited commented 3 weeks ago

Yes I think there is a possibility for this to get stuck in infinite loop, applied fix.