From 8319802621e2290e471b12077ff6a283523c7833 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 15 Sep 2022 08:28:27 +0100 Subject: Revert "FIX: the sprite order changed, green MUST be green" This reverts commit 975c98c51a2bb3fdf45409e7cb5d3d82ba323379. --- game/src/game.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'game/src/game.c') diff --git a/game/src/game.c b/game/src/game.c index 15130ee..62d5edb 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; - // white - sp.attr = 15; + // green + sp.attr = 12; spman_alloc_fixed_sprite(&sp); // second one is 4 patterns away (16x16 sprites) sp.pattern += 4; - // green - sp.attr = 12; + // white + sp.attr = 15; spman_alloc_fixed_sprite(&sp); } -- cgit v1.2.3