From 904efac284dc2ec608dc3695136ca35a80cf0187 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 26 Dec 2014 11:28:20 +1300 Subject: [PATCH] Remove underscore prefix. --- OpenRA.Mods.Common/Widgets/RadarWidget.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OpenRA.Mods.Common/Widgets/RadarWidget.cs b/OpenRA.Mods.Common/Widgets/RadarWidget.cs index 674073f29e..54c70cc2c8 100644 --- a/OpenRA.Mods.Common/Widgets/RadarWidget.cs +++ b/OpenRA.Mods.Common/Widgets/RadarWidget.cs @@ -99,9 +99,9 @@ namespace OpenRA.Mods.Common.Widgets 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(); } } @@ -122,9 +122,9 @@ namespace OpenRA.Mods.Common.Widgets 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; } } @@ -279,9 +279,9 @@ namespace OpenRA.Mods.Common.Widgets 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()) {