X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/6fc75eb6ef197f7eefb586c09ca2bc79a50e7fd6..cddc537f3359281db6c16b6b059ca20a20f970c5:/badge/jumpnrun/game_state.c diff --git a/badge/jumpnrun/game_state.c b/badge/jumpnrun/game_state.c index d8186d5..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, 5); + jumpnrun_player_spawn(&state->player, lv->start_pos, lv->start_lives); } void jumpnrun_game_state_respawn(jumpnrun_game_state *state, jumpnrun_level const *lv) {