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