diff options
Diffstat (limited to 'src/koopatlas')
-rw-r--r-- | src/koopatlas/hud.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp index 3802c33..dceddb8 100644 --- a/src/koopatlas/hud.cpp +++ b/src/koopatlas/hud.cpp @@ -380,13 +380,14 @@ void dWMHud_c::loadFooterInfo() { for (int i = 0; i < sect->levelCount; i++) { dLevelInfo_c::entry_s *entry = §->levels[i]; - u32 conds = save->GetLevelCondition(entry->worldSlot, entry->levelSlot); - - if (((entry->flags & 0x10) && !(conds & COND_NORMAL)) || - ((entry->flags & 0x20) && !(conds & COND_SECRET))) - starVisibility[1] = false; if (entry->flags & 2) { + u32 conds = save->GetLevelCondition(entry->worldSlot, entry->levelSlot); + + if (((entry->flags & 0x10) && !(conds & COND_NORMAL)) || + ((entry->flags & 0x20) && !(conds & COND_SECRET))) + starVisibility[1] = false; + if ((conds & COND_COIN_ALL) != COND_COIN_ALL) starVisibility[2] = false; } |