Vinifera
Vinifera copied to clipboard
[Vanilla Bug] Spotlight is not drawn if the building is hidden by fog
First Check
- [X] I added a very descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I have attached as much information as possible (screenshots, debug and exception logs, etc).
Description
If a spotlight tower is covered by the Fog of War, the spotlight is not drawn.
I consider this issue a bug for a couple of reasons:
- Fog of War is not used in the vanilla campaigns at all. In other words, this problem is only apparent in custom missions that make use of both the fog and spotlights.
- This makes it very easy to avoid the spotlight, as you can often confidently move in the area where it should be cast, but as long as the tower itself is hidden by the fog, the spotlight is invisible and cannot be triggered.
- The fog behaves differently from shroud: If the fog is disabled, the spotlight is drawn even if the tower is hidden in shroud.
Required Code (optional)
No response
Steps To Reproduce
- Download the attached test map
- Place the map in your TS directory
- Start the TS GDI campaign
- Observe the spotlight motion.
- Move your units away so that the spotlight tower is covered in fog.
Expected Behaviour
The spotlight should be drawn on any cells not covered by the fog, regardless whether the tower itself is hidden or not.
Actual Behaviour
Once the tower is covered by the fog, the spotlight disappears entirely.