diff options
author | kdx <kikoodx@paranoici.org> | 2023-03-17 19:03:59 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-03-17 19:03:59 +0100 |
commit | 5a84257033fe83d08b11ec845fbee1fa7bc56ca4 (patch) | |
tree | ce71232ddfad2204f4f3ed0111f0c4e3af448d27 /src/player.c | |
parent | f106977f6b0fce888306f4af29c847857a2e02be (diff) | |
download | hyperultra-5a84257033fe83d08b11ec845fbee1fa7bc56ca4.tar.gz |
flawless map system
Diffstat (limited to 'src/player.c')
-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 9281357..485296c 100644 --- a/src/player.c +++ b/src/player.c @@ -46,7 +46,7 @@ player_update(Entity *this, Game *g) } entity_move(this, g); - if (this->vel[0] == 0.0) + if (this->vel[0] == 0.0 && this->vel[1] >= -0.0) this->player.dirx *= -1; } |