diff options
author | Treeki <treeki@gmail.com> | 2012-12-06 02:02:10 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-12-06 02:02:10 +0100 |
commit | ffed316fb7d237065f51265d0be33dd9cee90a9a (patch) | |
tree | 12b4c7f009d994f38bee2ce3ddc66382b8b687a1 /src/koopatlas/core.cpp | |
parent | 42069c9299c18891a81efeeb45d19007d80c70c1 (diff) | |
download | kamek-ffed316fb7d237065f51265d0be33dd9cee90a9a.tar.gz kamek-ffed316fb7d237065f51265d0be33dd9cee90a9a.zip |
fixed the KP map switching crash bug
Diffstat (limited to 'src/koopatlas/core.cpp')
-rw-r--r-- | src/koopatlas/core.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp index 03b8dae..71122e5 100644 --- a/src/koopatlas/core.cpp +++ b/src/koopatlas/core.cpp @@ -47,6 +47,7 @@ dScKoopatlas_c *dScKoopatlas_c::build() { } bool WMInit_StartLoading(void*); +bool WMInit_LoadStaticFiles(void*); bool StockWMInit_LoadEffects(void*); bool WMInit_LoadSIAnims(void*); bool WMInit_EndLoading(void*); @@ -58,6 +59,7 @@ bool WMInit_SetupWipe(void*); ChainedFunc initFunctions[] = { WMInit_StartLoading, + WMInit_LoadStaticFiles, StockWMInit_LoadEffects, WMInit_LoadSIAnims, WMInit_EndLoading, @@ -135,6 +137,10 @@ bool WMInit_StartLoading(void *ptr) { return true; } +bool WMInit_LoadStaticFiles(void *ptr) { + return dKPMusic::loadInfo(); +} + bool WMInit_LoadSIAnims(void *ptr) { SpammyReport("WMInit_LoadSIAnims called\n"); |