summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-06-22 14:49:47 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-06-22 14:49:47 +0200
commit1bcde2b23a273c7ff6c5b5ea5346111084e01700 (patch)
tree9c20ff8a5d48deeb65b50e46e5c8d73a341f23a7 /src/battlemap/struct/bm_character.erl
parenta76d6919142fed58bbe20031591d31f8bec08bb6 (diff)
Removes obsolete sanity checks.
Diffstat (limited to 'src/battlemap/struct/bm_character.erl')
-rw-r--r--src/battlemap/struct/bm_character.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/battlemap/struct/bm_character.erl b/src/battlemap/struct/bm_character.erl
index d3a762c..1fbd3b1 100644
--- a/src/battlemap/struct/bm_character.erl
+++ b/src/battlemap/struct/bm_character.erl
@@ -130,9 +130,7 @@ get_weapon_ids (Char) -> Char#character.weapon_ids.
get_statistics (Char) -> Char#character.statistics.
-spec get_location (type()) -> {non_neg_integer(), non_neg_integer()}.
-get_location (Char) ->
- true = get_is_alive(Char),
- Char#character.location.
+get_location (Char) -> Char#character.location.
-spec get_current_health (type()) -> integer().
get_current_health (Char) -> Char#character.current_health.