phantasia

Phantasia - 2D SDL3 RPG prototype.
git clone git://git.beep.wimdupont.com/phantasia.git
Log | Files | Refs | README | LICENSE

commit 7da4c330667c2712cba7cc96f2b6d5dc92a2a219
parent 89a7fdc431dca06034c31c6c81b9081feba4d50b
Author: beep <beep@wimdupont.com>
Date:   Sat,  4 Apr 2026 17:13:34 +0000

Fix player vertical facing rows

Diffstat:
Msrc/game/main.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/game/main.c b/src/game/main.c @@ -199,10 +199,10 @@ static int ph_player_sprite_row(const PhEntity *entity) { if (entity->facing_y > 0) { - return 0; + return 2; } if (entity->facing_y < 0) { - return 2; + return 0; } return 1; }