diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-17 21:40:56 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-17 21:40:56 +0100 |
commit | 2ce319014758bd3d6248635ab3f62594b77cc462 (patch) | |
tree | e48a21b4a3b467174427a927760970ec2e9b46fe /src | |
parent | fcd110f5fcf58c7402d44eae516ee33e5df71deb (diff) | |
download | gold-mine-run-2ce319014758bd3d6248635ab3f62594b77cc462.tar.gz gold-mine-run-2ce319014758bd3d6248635ab3f62594b77cc462.zip |
Stage is zero based
Also missing include.
Diffstat (limited to 'src')
-rw-r--r-- | src/game.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ #include "text.h" #include "map.h" #include "data.h" +#include "timer.h" #include "game.h" @@ -57,7 +58,7 @@ void hud_render() if (hud & HUD_STAGE) { - sprintf(b, "%02d", stage); + sprintf(b, "%02d", stage + 1); put_text(297, 4, b); } |