0ad/source/simulation2
wraitii bb8456691b Avoid overflow in UnitMotion.
ComputeTargetPosition called Dot() with large enough vectors that it
overflowed. Avoid that by not actually doing the full dot product.

Reported by: Itms
Fixes #5852

Differential Revision: https://code.wildfiregames.com/D3061
This was SVN commit r24152.
2020-11-09 13:25:50 +00:00
..
components Avoid overflow in UnitMotion. 2020-11-09 13:25:50 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Avoid overflow in UnitMotion. 2020-11-09 13:25:50 +00:00
scripting Implements correct distance to edges for the building snapping feature. 2020-08-17 20:13:18 +00:00
serialization RangeManager: Grid for 2D array, enum cleanups. 2020-06-13 09:05:40 +00:00
system Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
tests RangeManager: Grid for 2D array, enum cleanups. 2020-06-13 09:05:40 +00:00
MessageTypes.h UnitMotion - Send messages to UnitAI when obstructed, to allow stopping early when walking and avoiding pathfinding lag. 2019-07-22 18:07:24 +00:00
Simulation2.cpp Fix UpdateComponents logic for pathfinding following d592bf9cb6 2020-11-08 08:58:19 +00:00
Simulation2.h Use victory conditions json's in Atlas 2020-07-18 17:39:59 +00:00
TypeList.h Add a C++ interface for CCmpAttack. 2020-04-21 21:44:05 +00:00