summaryrefslogtreecommitdiff
path: root/src/levelnames.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-27 23:29:46 +0200
committerTreeki <treeki@gmail.com>2012-09-27 23:29:46 +0200
commit81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1 (patch)
treeeb3567c82f79dd6290f95cfb6a6e600cea1e870f /src/levelnames.cpp
parent624a89dc12d88973486b39937871c5facf6b9bb6 (diff)
downloadkamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.tar.gz
kamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.zip
new levelinfo format and a couple of fixes
Diffstat (limited to '')
-rw-r--r--src/levelnames.cpp2
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 = "";