diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-06-02 10:17:26 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-06-02 10:18:15 +0800 |
commit | a21182592bc2b57eac8d2c53df1cfde30d438372 (patch) | |
tree | e1fa3ee3bff74cfce26cf6eb32326c918b2d6481 /sirtet.c | |
parent | 286012bcbca33d471f4f82f9a14bbe70ec55b64b (diff) |
Increase minimum map size to 5x5
Diffstat (limited to 'sirtet.c')
-rw-r--r-- | sirtet.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -259,15 +259,15 @@ int main(int argc, char *argv[]) { switch (opt) { case 'h': sscanf(optarg, "%d", &H); - if (H < 4) { - printf("Map height cannot be less than 4\n"); + if (H < 5) { + printf("Map height cannot be less than 5\n"); return 1; } break; case 'w': sscanf(optarg, "%d", &W); - if (W < 4) { - printf("Map width cannot be less than 4\n"); + if (W < 5) { + printf("Map width cannot be less than 5\n"); return 1; } break; |