Go to file
Kp 3a4eafac03 Add workaround for passive thief bot
zicodxx reports that f7d0c85 made the thief bot passive and timid.
His analysis suggests that the problem is because f7d0c85 changed
find_connected_distance to return vm_distance::maximum_value() in places
where it previously returned magic values that were not maximum (caching
a distance of F1_0*1000 and returning a distance of -1).  Rather than
try to fix the underlying code that relied on these magic values, revert
those return paths to return these unusual values.  Move the unusual
values to named constants in file scope so that they are easier to find
and correlate.

Reported-by: zicodxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/286>
Analyzed-by: zicodxx

Fixes: f7d0c853ba ("Use special types for distance/magnitude")
2016-12-29 03:27:14 +00:00
common Add workaround for passive thief bot 2016-12-29 03:27:14 +00:00
contrib
d1x-rebirth Scrub invalid primary textures at level load 2016-12-22 05:21:16 +00:00
d2x-rebirth Use enumerate in more loops 2016-12-11 01:56:44 +00:00
Documentation Require support for reference qualified methods 2016-12-10 17:51:07 +00:00
similar Add workaround for passive thief bot 2016-12-29 03:27:14 +00:00
.gitignore
COPYING.txt
GPL-3.txt
INSTALL.markdown Fix Ubuntu package name in INSTALL.markdown 2016-12-23 02:56:55 +00:00
SConstruct Extend SConf diagnostics for failed system headers 2016-12-22 05:21:17 +00:00