X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/1a739e2fd0f176d82aa3dba471a129f9fad0bd39..cccb7f09e28f348e9273467cc8e410ad13283165:/loopy.c diff --git a/loopy.c b/loopy.c index 798e54e..8976b69 100644 --- a/loopy.c +++ b/loopy.c @@ -3791,14 +3791,14 @@ static void game_print(drawing *dr, game_state *state, int tilesize) /* * Lines. (At the moment, I'm not bothering with crosses.) */ - FORALL_VL(state, x, y) { + FORALL_HL(state, x, y) { if (RIGHTOF_DOT(state, x, y) == LINE_YES) draw_rect(dr, BORDER + x * TILE_SIZE, BORDER + y * TILE_SIZE - LINEWIDTH/2, TILE_SIZE, (LINEWIDTH/2) * 2 + 1, ink); } - FORALL_HL(state, x, y) { + FORALL_VL(state, x, y) { if (BELOW_DOT(state, x, y) == LINE_YES) draw_rect(dr, BORDER + x * TILE_SIZE - LINEWIDTH/2, BORDER + y * TILE_SIZE, @@ -3811,7 +3811,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize) #endif const struct game thegame = { - "Loopy", "games.loopy", + "Loopy", "games.loopy", "loopy", default_params, game_fetch_preset, decode_params,