From 975c98c51a2bb3fdf45409e7cb5d3d82ba323379 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 15 Sep 2022 08:06:54 +0100 Subject: FIX: the sprite order changed, green MUST be green --- game/src/game.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'game/src') diff --git a/game/src/game.c b/game/src/game.c index 62d5edb..15130ee 100644 --- a/game/src/game.c +++ b/game/src/game.c @@ -361,13 +361,13 @@ void update_player() sp.y = self->y - 1; // find which pattern to show sp.pattern = self->pat + (walk_frames[self->frame] + self->dir * 3) * 8; - // green - sp.attr = 12; + // white + sp.attr = 15; spman_alloc_fixed_sprite(&sp); // second one is 4 patterns away (16x16 sprites) sp.pattern += 4; - // white - sp.attr = 15; + // green + sp.attr = 12; spman_alloc_fixed_sprite(&sp); } -- cgit v1.2.3