summaryrefslogtreecommitdiff
path: root/src/koopatlas/mapdata.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-07-24 15:55:13 +0200
committerTreeki <treeki@gmail.com>2012-07-24 15:55:13 +0200
commit57577aa4c163b01572b21914defe34e7ee24104b (patch)
tree290d0c97cb6344bd5e21d8c5f6e0c4afb10a76e7 /src/koopatlas/mapdata.cpp
parent86cef888c196c138f71388aa9b701ac09eb95d14 (diff)
downloadkamek-57577aa4c163b01572b21914defe34e7ee24104b.tar.gz
kamek-57577aa4c163b01572b21914defe34e7ee24104b.zip
parts of the new unlock system, still got to wrap up some stuff
Diffstat (limited to '')
-rw-r--r--src/koopatlas/mapdata.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp
index 9c84c4a..dd4646b 100644
--- a/src/koopatlas/mapdata.cpp
+++ b/src/koopatlas/mapdata.cpp
@@ -173,6 +173,7 @@ void dKPMapData_c::fixup() {
fixRef(data->layers);
fixRef(data->tilesets);
+ fixRef(data->unlockData);
for (int iLayer = 0; iLayer < data->layerCount; iLayer++) {
dKPLayer_s *layer = fixRef(data->layers[iLayer]);
@@ -225,10 +226,7 @@ void dKPMapData_c::fixup() {
}
- // before we finish here, create the Node Extra classes
-
- // before the first off, do the unlocking.
- SaveBlock *save = GetSaveFile()->GetBlock(-1);
+ /*SaveBlock *save = GetSaveFile()->GetBlock(-1);
for (int i = 0; i < pathLayer->pathCount; i++) {
dKPPath_s *path = pathLayer->paths[i];
@@ -242,8 +240,10 @@ void dKPMapData_c::fixup() {
else
path->isAvailable = false;
}
- }
+ }*/
+
+ // before we finish here, create the Node Extra classes
// first off, count how many we need...
int count = 0;