Remove underscore prefix.

This commit is contained in:
Paul Chote
2014-12-26 11:28:20 +13:00
parent 362b4aeaef
commit 904efac284

View File

@@ -99,9 +99,9 @@ namespace OpenRA.Mods.Common.Widgets
unsafe unsafe
{ {
fixed (byte* _colors = &radarData[0]) fixed (byte* colorBytes = &radarData[0])
{ {
var colors = (int*)_colors; var colors = (int*)colorBytes;
colors[(uv.Y + dy) * stride + uv.X + dx] = terrain.Color.ToArgb(); colors[(uv.Y + dy) * stride + uv.X + dx] = terrain.Color.ToArgb();
} }
} }
@@ -122,9 +122,9 @@ namespace OpenRA.Mods.Common.Widgets
unsafe unsafe
{ {
fixed (byte* _colors = &radarData[0]) fixed (byte* colorBytes = &radarData[0])
{ {
var colors = (int*)_colors; var colors = (int*)colorBytes;
colors[(uv.Y + dy) * stride + uv.X + dx] = color; colors[(uv.Y + dy) * stride + uv.X + dx] = color;
} }
} }
@@ -279,9 +279,9 @@ namespace OpenRA.Mods.Common.Widgets
unsafe unsafe
{ {
fixed (byte* _colors = &radarData[0]) fixed (byte* colorBytes = &radarData[0])
{ {
var colors = (int*)_colors; var colors = (int*)colorBytes;
foreach (var t in world.ActorsWithTrait<IRadarSignature>()) foreach (var t in world.ActorsWithTrait<IRadarSignature>())
{ {