From 88db26c73cbd537fa98072cbc2c6eed185282b6d Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 28 Feb 2013 05:46:32 +0100 Subject: quick fix for a possible issue I noticed in levelinfo.cpp --- src/levelinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3