In Fog of War, AI Enemy's Submarine Dive/Undive Sprite is Visible to Player When Outside Player's Vision
Closed this issue · 1 comments
Describe the bug
When playing Fog of War against an AI, you can see the dive/undive sprite of enemy submarines when they are outside your vision.
https://github.com/Robosturm/Commander_Wars/blob/master/resources/images/animations/undive.png
https://github.com/Robosturm/Commander_Wars/blob/master/resources/images/animations/dive.png
To Reproduce
Steps to reproduce the behavior:
- Start a Fog of War match against an AI, that has submarines or harbours.
- Play until AI dives/surfaces submarine outside vision
- See error
Expected behavior
This sprite should not be visible to the player if the submarine is outside the player's vision. They player can still listen for the noise to know if a submarine is diving/surfacing, but now they won't know the exact location of the submarine.
Here is the test map design I used. It is 10x10.
Desktop (please complete the following information):
- OS: [Windows 10 Home]
- Version [22h2]
- Active Mods [None]
- Game Version [Beta 0.36.3-main]