Remove legacy tooltip code.

This commit is contained in:
Paul Chote
2013-04-25 12:13:31 +12:00
parent ba2704291a
commit a1d2229a58
3 changed files with 0 additions and 17 deletions

View File

@@ -158,15 +158,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
}
}
public static void ShowSpawnPointTooltip(OrderManager orderManager, int spawnPoint, int2 position)
{
var client = orderManager.LobbyInfo.Clients.FirstOrDefault(c => c.SpawnPoint == spawnPoint);
if (client != null)
{
Game.Renderer.Fonts["Bold"].DrawTextWithContrast(client.Name, position + new int2(5, 5), Color.White, Color.Black, 1);
}
}
static Color GetPingColor(Session.Client c)
{
if (c.Ping < 0) // Ping unknown