0ad/source/simulation2
wraitii d92feab275 Fix target height computation when launching projectiles.
The Y coordinate at which to fire a projectile is currently assumed to
be the target's current Y, which is incorrect if the target is moving on
a slope.
This fixes that.

Note that this was purely visual, since projectiles still hit the target
regardless, as the height component is totally ignored, even if the
projectile is underground (in fact, the projectile's position is not
known in DelayedDamage::MissileHit, which just assumes it lands where it
said it would when fired).

As noted by bb in f737831167

Fixes #5939

Differential Revision: https://code.wildfiregames.com/D3425
This was SVN commit r24766.
2021-01-22 18:16:13 +00:00
..
components Fix target height computation when launching projectiles. 2021-01-22 18:16:13 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
scripting Fix 9fc6c3c897 - Set entity/template before deserializing. 2021-01-12 16:15:40 +00:00
serialization Fix instacrash when saving a game & serialization fails for "no Deserialize" 2021-01-20 08:16:34 +00:00
system Revert cf6aaf37a4, causing false OOS in visual replays. 2021-01-22 17:13:12 +00:00
tests Fix lag on OOS with AIs 2021-01-16 10:33:00 +00:00
MessageTypes.h Improve behaviour of formations stuck within other units. 2021-01-05 10:12:47 +00:00
Simulation2.cpp Add a Dev Overlay checkbox to activate RejoinTest from the session. 2020-12-17 17:53:13 +00:00
Simulation2.h Add a Dev Overlay checkbox to activate RejoinTest from the session. 2020-12-17 17:53:13 +00:00
TypeList.h Store turret positions in map files. 2020-11-11 19:40:44 +00:00