summaryrefslogtreecommitdiff
path: root/src/type
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2017-11-29 15:31:55 +0100
committernsensfel <SpamShield0@noot-noot.org>2017-11-29 15:31:55 +0100
commit9debe2ae27ccdacbd65f0636a84a64ec4762b8af (patch)
treebf7c02765279faa93d660ca54658eb1eef3ea1ac /src/type
parentd0ac33b7b61afaa45920b866dea2d5934ddfe39f (diff)
Fixes small blunders.
Diffstat (limited to 'src/type')
-rw-r--r--src/type/battlemap.erl2
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)).