Support arbitrary per-player palettes. Will crash if I missed any cases that don't explicitly set the Renderable palette.
This commit is contained in:
@@ -27,7 +27,6 @@ namespace OpenRA
|
||||
public int Deaths;
|
||||
public WinState WinState = WinState.Undefined;
|
||||
|
||||
public readonly string Palette;
|
||||
public readonly ColorRamp ColorRamp;
|
||||
|
||||
public readonly string PlayerName;
|
||||
@@ -46,7 +45,6 @@ namespace OpenRA
|
||||
{
|
||||
World = world;
|
||||
Index = index;
|
||||
Palette = "player" + index;
|
||||
InternalName = pr.Name;
|
||||
PlayerRef = pr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user