summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-06-06 16:42:42 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-06-06 16:42:42 +0200 |
commit | 82081d45fd64294f4bc417085e06284f3487b32f (patch) | |
tree | 1da77dd39829f8bfdcbf200df6a12a0a53edf661 /src/battlemap/struct/bm_battle_action.erl | |
parent | ee9c2ac044cc77b80f30420c8f0788cad4281084 (diff) |
...
Diffstat (limited to 'src/battlemap/struct/bm_battle_action.erl')
-rw-r--r-- | src/battlemap/struct/bm_battle_action.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battlemap/struct/bm_battle_action.erl b/src/battlemap/struct/bm_battle_action.erl index abdc1c6..9f9b50f 100644 --- a/src/battlemap/struct/bm_battle_action.erl +++ b/src/battlemap/struct/bm_battle_action.erl @@ -92,7 +92,7 @@ can_follow (switch_weapon, attack) -> true; can_follow (move, attack) -> true; can_follow (_, _) -> false. --spec get_path (type()) -> list(direction:type()). +-spec get_path (type()) -> list(bm_direction:type()). get_path (Action) when is_record(Action, move) -> Action#move.path; get_path (_) -> |