mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 21:34:08 -07:00
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
|
||
|---|---|---|
| .. | ||
| test_CinemaManager.h | ||
| test_CommandQueue.h | ||
| test_HierPathfinder.h | ||
| test_ObstructionManager.h | ||
| test_Pathfinder.h | ||
| test_Position.h | ||
| test_RangeManager.h | ||
| test_scripts.h | ||
| test_TerritoryManager.h | ||