X-Git-Url: http://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/0e142e7a8d04db5ceaa41a866f67ef6f92fcd189..5337261a68ea89b88624ca6fd7319cadd662e057:/badge/jumpnrun/game_state.c 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) {