diff options
author | kdx <kikoodx@paranoici.org> | 2023-03-18 19:15:05 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-03-18 19:15:05 +0100 |
commit | 11b10c227cfccec717b8b7206f33a8bce24a54dc (patch) | |
tree | 750c1f9daf319934f2ca1729b63e0fecc08bbf1d /src/player.c | |
parent | ef3cf8e9df99856d4c322afd17fed5e3e15f383b (diff) | |
download | hyperultra-11b10c227cfccec717b8b7206f33a8bce24a54dc.tar.gz |
u dedge
Diffstat (limited to 'src/player.c')
-rw-r--r-- | src/player.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c index c729085..70ccb20 100644 --- a/src/player.c +++ b/src/player.c @@ -49,6 +49,9 @@ player_update(Entity *this, Game *g) if (this->vel[0] == 0.0 && this->vel[1] >= -0.0) this->player.dirx *= -1; + if (this->bonk_ceiling) + g->queue_restart_scene = true; + if (entity_place_meeting(this, g, ET_EXIT) != NULL) g->queue_next_scene = true; } |