ensure we don't run into problems reading world data on case-sensitive filesystems

This commit is contained in:
2024-10-07 23:00:06 +11:00
parent 9184431b2f
commit a934503ec9

View File

@@ -99,7 +99,7 @@ static void SetupWorld(APPSTATE *state)
int numtriangles;
FILE *filein;
char oneline[255];
filein = fopen("data/world.txt", "r"); // File to load world data from
filein = fopen("Data/World.txt", "r"); // File to load world data from
readstr(filein, oneline);
sscanf(oneline, "NUMPOLLIES %d\n", &numtriangles);