bullets, missiles are all altitude-aware

This commit is contained in:
Chris Forbes
2009-12-22 22:58:42 +13:00
parent cabdb40147
commit 91a04dc96a
8 changed files with 37 additions and 18 deletions

View File

@@ -88,6 +88,7 @@ namespace OpenRa.Game
var underCursor = Game.UnitInfluence.GetUnitAt( xy )
?? Game.BuildingInfluence.GetBuildingAt( xy );
if (underCursor != null && !underCursor.Info.Selectable)
underCursor = null;