fix frozen actors not visible under fog
This commit is contained in:
@@ -65,11 +65,13 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
var isVisible = false;
|
||||
foreach (var pos in footprint)
|
||||
{
|
||||
if (p.Shroud.IsVisible(pos))
|
||||
{
|
||||
isVisible = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
visible[p] = isVisible;
|
||||
if (isVisible)
|
||||
VisibilityHash += p.ClientIndex;
|
||||
|
||||
Reference in New Issue
Block a user