X-Git-Url: http://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/6fc75eb6ef197f7eefb586c09ca2bc79a50e7fd6..5c42c95f4d84a47a1e9d24cd61413d10a50f2007:/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) {