X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/0e142e7a8d04db5ceaa41a866f67ef6f92fcd189..cddc537f3359281db6c16b6b059ca20a20f970c5:/badge/jumpnrun/game_state.c?ds=sidebyside diff --git a/badge/jumpnrun/game_state.c b/badge/jumpnrun/game_state.c index 1085e7f..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, 3); + jumpnrun_player_spawn(&state->player, lv->start_pos, lv->start_lives); } void jumpnrun_game_state_respawn(jumpnrun_game_state *state, jumpnrun_level const *lv) {