0ad/source
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
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Fix issue with 5d2be02f68 2021-01-21 08:42:05 +00:00
gui Fix 3872ee43b5 and 768c84aa46 2021-01-18 12:16:27 +00:00
i18n Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
lib Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
lobby Fix incorrect user identifier used in 0342f01580 2021-01-20 19:54:16 +00:00
maths Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
mocks
network Hide ip and port from users until they want to join, add optional password 2021-01-20 18:31:39 +00:00
pch Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ps Fix unit-only Attack move. 2021-01-21 15:58:33 +00:00
renderer Removes useless transparent pass before the water for lowest settings since the water is opaque there. 2021-01-21 22:38:11 +00:00
rlinterface Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
scriptinterface Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
simulation2 Fix target height computation when launching projectiles. 2021-01-22 18:16:13 +00:00
soundmanager Fix audio leak that resulted in openAL errors after a while. 2021-01-22 12:50:05 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Update bundle dist tools 2021-01-22 12:53:54 +00:00
main.cpp Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
test_setup.cpp Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00