summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-06-12 09:57:13 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-06-12 09:57:13 +0200
commitdf54ba490259e1eb1e7c8133903417579ec4f400 (patch)
treeb282afb878facd3039185055274ef3f5d0b4b322 /src/shared/reply/shr_set_map.erl
parentd693f287201f3178f9cc36eee15af29694f67263 (diff)
Adds more funs to handle map markers.
Using map markers to handle attacks of opportunity appears to be a bad idea: while it does make their detection very cheap, this leads to having frequent (and rather large) updates to the markers.
Diffstat (limited to 'src/shared/reply/shr_set_map.erl')
-rw-r--r--src/shared/reply/shr_set_map.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/reply/shr_set_map.erl b/src/shared/reply/shr_set_map.erl
index 170f73c..e086ca5 100644
--- a/src/shared/reply/shr_set_map.erl
+++ b/src/shared/reply/shr_set_map.erl
@@ -19,7 +19,7 @@
-spec generate
(
non_neg_integer(),
- fun ((shr_tile_instance:trigger_name()) -> boolean()),
+ fun ((shr_map_marker:name()) -> boolean()),
shr_map:type()
)
-> {list(any())}.