summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/levelinfo.cpp2
-rw-r--r--src/levelinfo.h2
-rw-r--r--src/levelinfo_old.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/levelinfo.cpp b/src/levelinfo.cpp
index fd147f3..8ce2845 100644
--- a/src/levelinfo.cpp
+++ b/src/levelinfo.cpp
@@ -12,6 +12,8 @@ void dLevelInfo_c::load(void *buffer) {
for (int lev = 0; lev < thisSect->levelCount; lev++) {
entry_s *level = &levels[lev];
+ SetSomeConditionShit(level->worldSlot, level->levelSlot, level->flags);
+
char *name = (char*)getNameForLevel(level);
for (int i = 0; i < level->nameLength+1; i++) {
diff --git a/src/levelinfo.h b/src/levelinfo.h
index 8d8a4e5..20628d9 100644
--- a/src/levelinfo.h
+++ b/src/levelinfo.h
@@ -22,7 +22,7 @@ public:
u8 displayLevel;
u8 nameLength;
u8 reserved3;
- u16 reserved4;
+ u16 flags;
u32 nameOffset;
};
diff --git a/src/levelinfo_old.h b/src/levelinfo_old.h
index 50760c5..ed43757 100644
--- a/src/levelinfo_old.h
+++ b/src/levelinfo_old.h
@@ -20,7 +20,7 @@ struct LevelInfo_Entry {
u8 displayLevel;
u8 nameLength;
u8 reserved3;
- u16 reserved4;
+ u16 flags;
u32 nameOffset;
};