diff options
author | citrons <citrons@mondecitronne.com> | 2023-10-17 18:48:27 -0500 |
---|---|---|
committer | citrons <citrons@mondecitronne.com> | 2023-10-17 18:48:27 -0500 |
commit | 0a1c97a1cd577d6eb7cfdbcf59a9985fcc94fb7c (patch) | |
tree | 733b695208014bd5b1102adff71ac364d2c8e9dc | |
parent | 31530c9b9da7a579406633792507177c9435c5eb (diff) |
-rw-r--r-- | world.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -185,6 +185,7 @@ void player_place(world *w, int x, int y) { set_tile(w, w->player.pos, TILE_BLOCK_WHITE); w->player.pos = push; w->player.scores[TILE_LIGHT]--; + if (w->player.stamina > 0) w->player.stamina -= 2; } } } |