From 9debe2ae27ccdacbd65f0636a84a64ec4762b8af Mon Sep 17 00:00:00 2001 From: nsensfel Date: Wed, 29 Nov 2017 15:31:55 +0100 Subject: Fixes small blunders. --- src/type/battlemap.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/type') 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)). -- cgit v1.2.3-70-g09d2