diff options
author | Treeki <treeki@gmail.com> | 2013-02-28 05:46:32 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-02-28 05:46:32 +0100 |
commit | 88db26c73cbd537fa98072cbc2c6eed185282b6d (patch) | |
tree | a920e25224a751fc513f4fcc8e9afceef0ead990 /src | |
parent | 73cf9df88eeb7b6193dd3c2c53b1c796a196418c (diff) | |
download | kamek-88db26c73cbd537fa98072cbc2c6eed185282b6d.tar.gz kamek-88db26c73cbd537fa98072cbc2c6eed185282b6d.zip |
quick fix for a possible issue I noticed in levelinfo.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/levelinfo.cpp | 3 |
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);
|