diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-20 23:09:01 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-20 23:09:01 +0100 |
commit | f00ca8c1a2ae1c59854e60b13d3f529ab9e685c5 (patch) | |
tree | 91748c8bae0e2959f5fc809668c30b0270c685c1 /src | |
parent | 29b9ec683ff6f47db4f4535fec3c79eee6fb4837 (diff) | |
download | gold-mine-run-f00ca8c1a2ae1c59854e60b13d3f529ab9e685c5.tar.gz gold-mine-run-f00ca8c1a2ae1c59854e60b13d3f529ab9e685c5.zip |
Move point a bit higher
This is because when the player is jumping may not look like it touching
the gold.
Diffstat (limited to 'src')
-rw-r--r-- | src/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index 63bc222..96fb283 100644 --- a/src/player.c +++ b/src/player.c @@ -276,7 +276,7 @@ void player_update() frame = FRAME_STANDING; } - if (map_update_gold(x + (dir == DIR_LEFT ? 7 : 8), y + 15)) + if (map_update_gold(x + (dir == DIR_LEFT ? 7 : 8), y + 12)) { add_score(10); sound_play_efx(EFX_GOLD); |