summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-11-15 20:20:48 +0100
committerTreeki <treeki@gmail.com>2012-11-15 20:20:48 +0100
commit486a7c1c98a072dee5b9e1c383962998da55d3bb (patch)
treefc273d499615e35492e87163c76dee4f00f21ba8
parent36391b1db989dd7ba13ee0f9c1f8ccff759adc86 (diff)
downloadkamek-486a7c1c98a072dee5b9e1c383962998da55d3bb.tar.gz
kamek-486a7c1c98a072dee5b9e1c383962998da55d3bb.zip
useless commit message
-rw-r--r--src/koopatlas/mapdata.cpp7
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";