aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-18 08:05:26 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-18 08:05:26 +0100
commitd93874e37ca9d38dc3d8384f795b29cda6ddab36 (patch)
tree45120658913eeeba2cabe4f023916ffdcd6a1245 /src
parent4f387b247f932d50952f706864e0faa6b407defa (diff)
downloadgold-mine-run-d93874e37ca9d38dc3d8384f795b29cda6ddab36.tar.gz
gold-mine-run-d93874e37ca9d38dc3d8384f795b29cda6ddab36.zip
This shouldn't be needed
Diffstat (limited to 'src')
-rw-r--r--src/player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index 24231c5..ceb4b7a 100644
--- a/src/player.c
+++ b/src/player.c
@@ -338,6 +338,7 @@ void player_hit()
else
{
dying = 1;
+ invuln = 0;
frame = FRAME_DYING;
gravity = GRAVITY_UP;
sound_play_efx(EFX_DEATH);