cleanup some relics of old TypeDictionary

This commit is contained in:
Chris Forbes
2010-01-15 18:06:17 +13:00
parent 4e7c604764
commit baca523c3c
5 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRa.Game.Orders
var loc = mi.Location + Game.viewport.Location;
var underCursor = Game.FindUnits(loc, loc)
.Where(a => a.Owner == Game.LocalPlayer
&& a.traits.WithInterface<Chronoshiftable>().Any()
&& a.traits.Contains<Chronoshiftable>()
&& a.traits.Contains<Selectable>()).FirstOrDefault();
if (underCursor != null)