summaryrefslogtreecommitdiff
path: root/src/levelinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/levelinfo.cpp')
-rw-r--r--src/levelinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/levelinfo.cpp b/src/levelinfo.cpp
index 4d80492..728f802 100644
--- a/src/levelinfo.cpp
+++ b/src/levelinfo.cpp
@@ -31,7 +31,8 @@ void dLevelInfo_c::load(void *buffer) {
for (int lev = 0; lev < thisSect->levelCount; lev++) {
entry_s *level = &thisSect->levels[lev];
- SetSomeConditionShit(level->worldSlot, level->levelSlot, level->flags);
+ if (level->levelSlot < 42)
+ SetSomeConditionShit(level->worldSlot, level->levelSlot, level->flags);
char *name = (char*)getNameForLevel(level);