mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-08 06:06:51 +02:00
Fixed Linux error where files could not be loaded (#484)
This commit is contained in:
@@ -323,7 +323,6 @@ void joyUpdate() {
|
|||||||
// filesystem
|
// filesystem
|
||||||
#define MAX_FILES 4096
|
#define MAX_FILES 4096
|
||||||
char* gFiles[MAX_FILES];
|
char* gFiles[MAX_FILES];
|
||||||
const char* gEmpty = "";
|
|
||||||
int32 gFilesCount;
|
int32 gFilesCount;
|
||||||
|
|
||||||
void addDir(char* path)
|
void addDir(char* path)
|
||||||
@@ -387,7 +386,7 @@ const char* osFixFileName(const char* fileName)
|
|||||||
return gFiles[i];
|
return gFiles[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return gEmpty;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// system
|
// system
|
||||||
|
Reference in New Issue
Block a user