diff options
author | aap <aap@papnet.eu> | 2019-06-28 19:23:28 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-28 19:23:28 +0200 |
commit | 48cf8b6629da53443be6b1580ee15ad768c53370 (patch) | |
tree | d6bdeb18130b49096a995789840faf382f68f7ee /src/FileLoader.cpp | |
parent | Merge pull request #67 from gennariarmando/master (diff) | |
download | re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.gz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.bz2 re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.lz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.xz re3-48cf8b6629da53443be6b1580ee15ad768c53370.tar.zst re3-48cf8b6629da53443be6b1580ee15ad768c53370.zip |
Diffstat (limited to '')
-rw-r--r-- | src/FileLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileLoader.cpp b/src/FileLoader.cpp index dd58614d..8213a5c7 100644 --- a/src/FileLoader.cpp +++ b/src/FileLoader.cpp @@ -46,7 +46,7 @@ CFileLoader::LoadLevel(const char *filename) { int fd; RwTexDictionary *savedTxd; - int savedLevel; + eLevelName savedLevel; bool objectsLoaded; char *line; char txdname[64]; @@ -79,7 +79,7 @@ CFileLoader::LoadLevel(const char *filename) }else if(strncmp(line, "COLFILE", 7) == 0){ int level; sscanf(line+8, "%d", &level); - CGame::currLevel = level; + CGame::currLevel = (eLevelName)level; LoadingScreenLoadingFile(line+10); LoadCollisionFile(line+10); CGame::currLevel = savedLevel; |