fixing cursor for ships
This commit is contained in:
@@ -122,7 +122,7 @@ namespace OpenRa.Game
|
|||||||
{
|
{
|
||||||
case "Attack": return Cursor.Attack;
|
case "Attack": return Cursor.Attack;
|
||||||
case "Move":
|
case "Move":
|
||||||
if( Game.IsCellBuildable( location, UnitMovementType.Wheel, a ) )
|
if( Game.IsCellBuildable( location, a.Info.WaterBound ? UnitMovementType.Float : UnitMovementType.Wheel, a ) )
|
||||||
return Cursor.Move;
|
return Cursor.Move;
|
||||||
else
|
else
|
||||||
return Cursor.MoveBlocked;
|
return Cursor.MoveBlocked;
|
||||||
|
|||||||
Reference in New Issue
Block a user