From 2b60f94c64c05a18a821a27f114afbc15ec905a2 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 6 Dec 2009 19:30:03 +1300 Subject: [PATCH] fixing cursor for ships --- OpenRa.Game/Controller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Controller.cs b/OpenRa.Game/Controller.cs index 172c9db683..401984036a 100644 --- a/OpenRa.Game/Controller.cs +++ b/OpenRa.Game/Controller.cs @@ -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;