summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/koopatlas/hud.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp
index 2288fe7..2479133 100644
--- a/src/koopatlas/hud.cpp
+++ b/src/koopatlas/hud.cpp
@@ -564,7 +564,7 @@ void dWMHud_c::setupLives() {
playerCount++;
nw4r::lyt::Pane *facePane = (&P_marioFace_00)[playerID];
- facePane->trans = N_IconPosXP_00[i]->trans;
+ facePane->trans = N_IconPosXP_00[playerCount - 1]->trans;
facePane->SetVisible(true);
}
}