mirror of
https://github.com/ScrelliCopter/Lesson10-SDL3.git
synced 2025-02-21 07:19:26 +11:00
ensure we don't run into problems reading world data on case-sensitive filesystems
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user