summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-02-15 22:29:05 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-02-15 22:29:05 +0100
commit1e3ed11d30c5c6639de10caca2eea898e506e4cf (patch)
tree4bd676ed07ca71c46506b1fc3c1b54a9847e3466 /src/bounty
parent11ba787cd7a9bbcd0dff71176285337375313409 (diff)
Markers/triggers, shr_tile -> shr_tile{,_instance}
Diffstat (limited to 'src/bounty')
-rw-r--r--src/bounty/bnt_join_battle.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl
index b89627b..78c4ea4 100644
--- a/src/bounty/bnt_join_battle.erl
+++ b/src/bounty/bnt_join_battle.erl
@@ -116,9 +116,9 @@ find_random_location (Map, ForbiddenLocations) ->
_ ->
Tile =
- shr_tile:from_class_id
+ shr_tile:from_id
(
- shr_tile:extract_main_class_id
+ shr_tile_instance:get_tile_id
(
shr_map:get_tile_instance(Candidate, Map)
)