diff options
author | Treeki <treeki@gmail.com> | 2012-11-15 20:20:48 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-11-15 20:20:48 +0100 |
commit | 486a7c1c98a072dee5b9e1c383962998da55d3bb (patch) | |
tree | fc273d499615e35492e87163c76dee4f00f21ba8 /src/koopatlas/mapdata.cpp | |
parent | 36391b1db989dd7ba13ee0f9c1f8ccff759adc86 (diff) | |
download | kamek-486a7c1c98a072dee5b9e1c383962998da55d3bb.tar.gz kamek-486a7c1c98a072dee5b9e1c383962998da55d3bb.zip |
useless commit message
Diffstat (limited to 'src/koopatlas/mapdata.cpp')
-rw-r--r-- | src/koopatlas/mapdata.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp index 0c413cf..4bd6a0b 100644 --- a/src/koopatlas/mapdata.cpp +++ b/src/koopatlas/mapdata.cpp @@ -59,9 +59,10 @@ void dKPNode_s::setupNodeExtra() { colour = "g3d/black.brres"; // one-time levels - if ((level >= 30) && (level <= 37) && !exitComplete) - colour = "g3d/red.brres"; - + if ((level >= 30) && (level <= 37)) { + if (isUnlocked && !exitComplete) + colour = "g3d/red.brres"; + } // the shop else if (level == 99) colour = "g3d/shop.brres"; |