X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/1ab16aec62e20065faba56c469ddf75830860162..5245ad67d7984b14a389a66d6c4435bf08c5739a:/badge/jumpnrun/game_state.c diff --git a/badge/jumpnrun/game_state.c b/badge/jumpnrun/game_state.c index 386a7a1..21bd809 100644 --- a/badge/jumpnrun/game_state.c +++ b/badge/jumpnrun/game_state.c @@ -2,7 +2,7 @@ void jumpnrun_game_state_init(jumpnrun_game_state *state, jumpnrun_level const *lv) { memset(state, 0, sizeof(*state)); - jumpnrun_player_spawn(&state->player, lv->start_pos, 99); + jumpnrun_player_spawn(&state->player, lv->start_pos, lv->start_lives); } void jumpnrun_game_state_respawn(jumpnrun_game_state *state, jumpnrun_level const *lv) {