[Vanilla Bug] Explosion_Damage
deals damage at ground level regardless of explosion Z coordinate
#1150
Open
3 tasks done
Labels
vanilla-bug
Something isn't working in the original game
First Check
Description
Now that Vinifera has rockets, this issue is particularly important, as this bug often makes rocket interception pointless.
Warheads that are detonated mid-air (like rockets that are shot down, or even just SAM missiles hitting flying aircraft) also cause damage to objects on the ground, regardless of the height level that the explosion happens at.
Required Code (optional)
No response
Steps To Reproduce
Have a high-flying rocket target a building that is protected by anti-air coverage.
Expected Behaviour
The rocket is shot down as it descends on the building, dealing no damage.
Actual Behaviour
If the rocket has reached a cell of the targeted building so that it is above the building while shot down, the building receives damage regardless of the rocket's flight level.
Additional Context
This can also be reproduced by simply telling aircraft to force-move on top of an enemy building in Tiberian Sun. As enemy anti-air defenses fire at your aircraft (that are on top of the enemy building), the building also receives damage.
The text was updated successfully, but these errors were encountered: