From 99fcad8cbe31ba23d9c079b62e8a174c5b3ddf1b Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 3 Mar 2018 20:28:46 +0100 Subject: Fixing stuff that made Dialyzer output warnings. --- src/battle/attack.erl | 3 ++- src/battle/movement.erl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/battle') diff --git a/src/battle/attack.erl b/src/battle/attack.erl index 7384f78..9baf798 100644 --- a/src/battle/attack.erl +++ b/src/battle/attack.erl @@ -28,7 +28,8 @@ critical/0, attack_category/0, attack_effect/0, - attack_desc/0 + attack_desc/0, + attack_order_with_parry/0 ] ). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/src/battle/movement.erl b/src/battle/movement.erl index 720b60c..588fad9 100644 --- a/src/battle/movement.erl +++ b/src/battle/movement.erl @@ -49,7 +49,7 @@ cross (Battlemap, ForbiddenLocations, [Step|NextSteps], Cost, Location) -> -spec cross ( battlemap:struct(), - array:array(location:type()), + list(location:type()), list(direction:enum()), location:type() ) -- cgit v1.2.3-70-g09d2