diff options
author | Treeki <treeki@gmail.com> | 2012-07-24 15:55:13 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-07-24 15:55:13 +0200 |
commit | 57577aa4c163b01572b21914defe34e7ee24104b (patch) | |
tree | 290d0c97cb6344bd5e21d8c5f6e0c4afb10a76e7 /src/koopatlas/mapdata.cpp | |
parent | 86cef888c196c138f71388aa9b701ac09eb95d14 (diff) | |
download | kamek-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.cpp | 10 |
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; |