diff options
author | Treeki <treeki@gmail.com> | 2012-09-27 23:29:46 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-27 23:29:46 +0200 |
commit | 81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1 (patch) | |
tree | eb3567c82f79dd6290f95cfb6a6e600cea1e870f /src/levelnames.cpp | |
parent | 624a89dc12d88973486b39937871c5facf6b9bb6 (diff) | |
download | kamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.tar.gz kamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.zip |
new levelinfo format and a couple of fixes
Diffstat (limited to '')
-rw-r--r-- | src/levelnames.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/levelnames.cpp b/src/levelnames.cpp index 1f05386..7c64c0b 100644 --- a/src/levelnames.cpp +++ b/src/levelnames.cpp @@ -38,7 +38,7 @@ int DoNames(int state) { void *info = LoadFile(&fh, "/NewerRes/LevelInfo.bin"); LevelInfo_Prepare(&fh); - LevelInfo_Entry *entry = LevelInfo_Search(info, wnum, lnum); + LevelInfo_Entry *entry = LevelInfo_SearchSlot(info, wnum, lnum); char *worldname = LevelInfo_GetName(info, entry); char *levelname = ""; |