From 9b0d274a26aa25790faefd377cd127aa52dcdba2 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Mon, 31 Mar 2025 10:23:49 +0000 Subject: [PATCH] add macros --- w/w.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w/w.c b/w/w.c index c137e81..534ae52 100644 --- a/w/w.c +++ b/w/w.c @@ -557,7 +557,7 @@ void draw() for (int i = 0; i < shift; i++) printf(" "); printf("o----------o"); - if (charatpos(state.position.x, state.position.y) == 's') + if (charatpos(state.position.x, state.position.y) == TILE_START) { printf("\n\nr: Retour à la station\n"); }