0ad/source/simulation2
wraitii dbebe0a39a Fix max-range approach when treating a target as a circle.
As reported by @bb in #5512, catapults and other big-range units might
not approach targets correctly when trying to get in range.
To be sure that we will be in range of a square obstruction approximated
as a circle, we need to consider the inscribed circle and not the
circumscribed circle.

Reported by: bb
Fixes #5512

Differential Revision: https://code.wildfiregames.com/D2086
This was SVN commit r22495.
2019-07-17 18:08:47 +00:00
..
components Fix max-range approach when treating a target as a circle. 2019-07-17 18:08:47 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Fix undefined behaviour introduced in 5c642611c4 2019-07-15 18:05:03 +00:00
scripting Fix missing return in previous (65b02395b3), use underscore as recommended by Vladislav. 2019-07-17 00:00:05 +00:00
serialization SpiderMonkey-related changes in preparation for the upgrade to SpiderMonkey 45, refs #4893. 2019-01-13 16:37:41 +00:00
system Remove the unused variable proto from the ComponentManager in e9e05f4efc. 2019-07-14 14:13:15 +00:00
tests Fix some gcc 8 and gcc 9 compiler warnings that were thrown 4500 times. 2019-07-09 00:18:48 +00:00
MessageTypes.h Remove "MoveStarted" messages 2019-06-08 12:53:28 +00:00
Simulation2.cpp Remove unnecessary argument from CSimulation2::InitGame 2018-02-09 19:50:01 +00:00
Simulation2.h Remove unnecessary argument from CSimulation2::InitGame 2018-02-09 19:50:01 +00:00
TypeList.h Fix units not being able to play sounds when walking and running 2018-02-24 18:13:03 +00:00