From d3bfcfea5cb87d93f0d49054ff4f16d66ceaea07 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 24 Sep 2011 21:57:07 +1200 Subject: [PATCH] remove ChatLine.wrapped; never used --- OpenRA.Game/Widgets/ChatDisplayWidget.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/OpenRA.Game/Widgets/ChatDisplayWidget.cs b/OpenRA.Game/Widgets/ChatDisplayWidget.cs index 0c484a7479..39eba6f27b 100644 --- a/OpenRA.Game/Widgets/ChatDisplayWidget.cs +++ b/OpenRA.Game/Widgets/ChatDisplayWidget.cs @@ -50,7 +50,7 @@ namespace OpenRA.Widgets foreach (var line in recentLines.AsEnumerable().Reverse()) { chatpos.Y -= 20; - int inset = 0; + var inset = 0; if (!string.IsNullOrEmpty(line.Owner)) { @@ -83,12 +83,12 @@ namespace OpenRA.Widgets { if (recentLines.Count > 0) recentLines.RemoveAt(0); } - + public void ClearChat() { recentLines = new List(); } - + public override void Tick() { if (RemoveTime == 0) return; @@ -104,6 +104,5 @@ namespace OpenRA.Widgets { public Color Color = Color.White; public string Owner, Text; - public bool wrapped = false; } } \ No newline at end of file