diff --git a/IcePath.c b/IcePath.c index a3bb518..62da78f 100644 --- a/IcePath.c +++ b/IcePath.c @@ -102,11 +102,11 @@ void readfiles() { selected.level = data[i-1].level + 1; // read f_info lines = 0; - do { // read from line 4 + do { // read from line 5 ch = fgetc(f_info); if (ch == '\n') lines++;; - } while (lines < 4); + } while (lines < 5); do { fscanf(f_info, "%d.%d %s %dx%d", &level[u].world, &level[u].num, level[u].name, &level[u].height, &level[u].width);