diff options
Diffstat (limited to 'src/ch/epfl')
-rw-r--r-- | src/ch/epfl/xblast/server/painter/PlayerPainter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/painter/PlayerPainter.java b/src/ch/epfl/xblast/server/painter/PlayerPainter.java index 043cb50..a366918 100644 --- a/src/ch/epfl/xblast/server/painter/PlayerPainter.java +++ b/src/ch/epfl/xblast/server/painter/PlayerPainter.java | |||
@@ -59,7 +59,7 @@ public final class PlayerPainter { | |||
59 | * @return the dying image ID | 59 | * @return the dying image ID |
60 | */ | 60 | */ |
61 | private static byte byteForDyingState(int lives) { | 61 | private static byte byteForDyingState(int lives) { |
62 | return lives == 0 ? LAST_DYING_IMAGE_ID : DYING_IMAGE_ID; | 62 | return lives == 1 ? LAST_DYING_IMAGE_ID : DYING_IMAGE_ID; |
63 | } | 63 | } |
64 | 64 | ||
65 | /** | 65 | /** |