summaryrefslogtreecommitdiffstats
path: root/Piece.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Piece.gd')
-rw-r--r--Piece.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Piece.gd b/Piece.gd
index 7564d0f..50baa43 100644
--- a/Piece.gd
+++ b/Piece.gd
@@ -13,7 +13,7 @@ func road_march_bonus() -> int:
func move_cost(src : Tile, dst : Tile, a : int) -> int:
print("Piece#move_cost() must be overriden in a subclass")
- return 1
+ return -1 # impracticable
func at_least_one_tile() -> bool:
print("Piece#at_least_one_tile() must be overriden in a subclass")