diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-06-01 15:57:06 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-06-01 15:57:06 +0800 |
commit | 6912d144a5a7ae5abf2480a2a9a8842a4907edf4 (patch) | |
tree | 7f32d2e0707d767e3fa6185dc816a10ac7622257 /sirtet.c | |
parent | 384f833e839cf8f5e71b656cf7b390fc80d89e9d (diff) |
Fix map dimension bug
Diffstat (limited to 'sirtet.c')
-rw-r--r-- | sirtet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ int clearfull(char** map, int mapH, int mapW) { for (int c = 0; c < mapW; c++) { if (cols_to_clear[c]) { ctc_count++; - for (int r = 0; r < mapW; r++) + for (int r = 0; r < mapH; r++) map[r][c] = ' '; } } |