summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/type/battlemap.erl')
-rw-r--r-- | src/type/battlemap.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type/battlemap.erl b/src/type/battlemap.erl index 4fe785c..f55aadb 100644 --- a/src/type/battlemap.erl +++ b/src/type/battlemap.erl @@ -57,4 +57,4 @@ get_instances (Battlemap) -> Battlemap#battlemap.instances. -include("battlemap/cross_5.erl"). dist ({OX, OY}, {DX, DY}) -> - (abs(OX - DX) + abs(OY + DY)). + (abs(OX - DX) + abs(OY - DY)). |