summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle/src/View/Map/Character.elm')
-rw-r--r--src/battle/src/View/Map/Character.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle/src/View/Map/Character.elm b/src/battle/src/View/Map/Character.elm
index 65c1f03..4b69ebc 100644
--- a/src/battle/src/View/Map/Character.elm
+++ b/src/battle/src/View/Map/Character.elm
@@ -80,7 +80,7 @@ get_alliance_class : (
(Html.Attribute Struct.Event.Type)
)
get_alliance_class model char =
- if ((Struct.Character.get_player_ix char) == model.player_ix)
+ if ((Struct.Character.get_player_index char) == model.player_ix)
then
(Html.Attributes.class "character-ally")
else
@@ -137,7 +137,7 @@ get_body_html char =
(Html.Attributes.class
(
"asset-character-team-body-"
- ++ (String.fromInt (Struct.Character.get_player_ix char))
+ ++ (String.fromInt (Struct.Character.get_player_index char))
)
)
]