summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/bounty/bnt_join_battle.erl')
-rw-r--r--src/bounty/bnt_join_battle.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl
index 1028166..71b6eb1 100644
--- a/src/bounty/bnt_join_battle.erl
+++ b/src/bounty/bnt_join_battle.erl
@@ -44,7 +44,7 @@ update_ordset (New, Old) ->
-spec get_equipment_ids
(
- orddict:orddict(non_neg_integer(), btl_character:type())
+ list(btl_character:type())
)
->
{
@@ -58,9 +58,9 @@ get_equipment_ids (Characters) ->
UsedWeaponIDs,
UsedArmorIDs
} =
- orddict:fold
+ lists:foldl
(
- fun (_IX, Character, {UPIDs, UWIDs, UAIDs}) ->
+ fun (Character, {UPIDs, UWIDs, UAIDs}) ->
{MWpID, SWpID} = btl_character:get_weapon_ids(Character),
AID = btl_character:get_armor_id(Character),
PID = btl_character:get_portrait_id(Character),