fixing cursor for ships

This commit is contained in:
Chris Forbes
2009-12-06 19:30:03 +13:00
parent 3ce314ea64
commit 2b60f94c64

View File

@@ -122,7 +122,7 @@ namespace OpenRa.Game
{
case "Attack": return Cursor.Attack;
case "Move":
if( Game.IsCellBuildable( location, UnitMovementType.Wheel, a ) )
if( Game.IsCellBuildable( location, a.Info.WaterBound ? UnitMovementType.Float : UnitMovementType.Wheel, a ) )
return Cursor.Move;
else
return Cursor.MoveBlocked;