Begin refactoring Shroud. ShroudRenderer is now internal to WorldRenderer; all traits interact with Shroud directly. Gives soft-edges at the map border for free, but breaks shellmap and observers.
This commit is contained in:
@@ -74,7 +74,7 @@ namespace OpenRA.Mods.RA
|
||||
trailStart.G, trailStart.B);
|
||||
|
||||
// LocalPlayer is null on shellmap
|
||||
ShroudRenderer shroud = null;
|
||||
Shroud shroud = null;
|
||||
if (self.World.LocalPlayer != null)
|
||||
shroud = self.World.LocalPlayer.Shroud;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user