diff options
author | Treeki <treeki@gmail.com> | 2012-07-25 00:36:07 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-07-25 00:36:07 +0200 |
commit | 0d20c172706178e5df2d426fcf5cb1b7ae85c225 (patch) | |
tree | a6b1d1f84630fd6e37b919759dd20268a9069d81 /src/koopatlas/mapdata.cpp | |
parent | 57577aa4c163b01572b21914defe34e7ee24104b (diff) | |
download | kamek-0d20c172706178e5df2d426fcf5cb1b7ae85c225.tar.gz kamek-0d20c172706178e5df2d426fcf5cb1b7ae85c225.zip |
moving to desktop
Diffstat (limited to 'src/koopatlas/mapdata.cpp')
-rw-r--r-- | src/koopatlas/mapdata.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp index dd4646b..650f1e3 100644 --- a/src/koopatlas/mapdata.cpp +++ b/src/koopatlas/mapdata.cpp @@ -226,23 +226,6 @@ void dKPMapData_c::fixup() { } - /*SaveBlock *save = GetSaveFile()->GetBlock(-1); - for (int i = 0; i < pathLayer->pathCount; i++) { - dKPPath_s *path = pathLayer->paths[i]; - - if (path->unlockType > 0) { - u32 conds = save->GetLevelCondition(path->unlockLevelNumber[0] - 1, path->unlockLevelNumber[1] - 1); - - if (path->unlockType == 1 && (conds & COND_NORMAL)) - path->isAvailable = true; - else if (path->unlockType == 2 && (conds & COND_SECRET)) - path->isAvailable = true; - else - path->isAvailable = false; - } - }*/ - - // before we finish here, create the Node Extra classes // first off, count how many we need... |