diff options
author | Treeki <treeki@gmail.com> | 2012-09-27 23:29:46 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-27 23:29:46 +0200 |
commit | 81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1 (patch) | |
tree | eb3567c82f79dd6290f95cfb6a6e600cea1e870f /src/koopatlas/core.cpp | |
parent | 624a89dc12d88973486b39937871c5facf6b9bb6 (diff) | |
download | kamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.tar.gz kamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.zip |
new levelinfo format and a couple of fixes
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/core.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp index c20d715..cb13119 100644 --- a/src/koopatlas/core.cpp +++ b/src/koopatlas/core.cpp @@ -970,13 +970,13 @@ void dScKoopatlas_c::startLevel(dLevelInfo_c::entry_s *entry) { sl.unk4 = 0; sl.purpose = 0; - sl.world1 = entry->world; - sl.world2 = entry->world; - sl.level1 = entry->level; - sl.level2 = entry->level; + sl.world1 = entry->worldSlot; + sl.world2 = entry->worldSlot; + sl.level1 = entry->levelSlot; + sl.level2 = entry->levelSlot; // hopefully this will fix the Star Coin issues - SetSomeConditionShit(entry->world, entry->level, 2); + SetSomeConditionShit(entry->worldSlot, entry->levelSlot, 2); ActivateWipe(WIPE_MARIO); |