summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-24 05:40:39 +0200
committerTreeki <treeki@gmail.com>2012-09-24 05:40:39 +0200
commit245bb3325f613f81973866100e86ee681b0fde9d (patch)
tree7837866a91fc6c422ffb9b730c2fdbbb6577ea53 /src/koopatlas/core.cpp
parentaafa2a57c88c01067266244eae2a906d8771c065 (diff)
parent4f567256d015cf7a835ac03b9e5abb8a2a7eb12a (diff)
downloadkamek-245bb3325f613f81973866100e86ee681b0fde9d.tar.gz
kamek-245bb3325f613f81973866100e86ee681b0fde9d.zip
Merge branch 'level-select' into new-hud
Diffstat (limited to '')
-rw-r--r--src/koopatlas/core.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index 164ea89..c20d715 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -46,6 +46,7 @@ dScKoopatlas_c *dScKoopatlas_c::build() {
}
bool WMInit_StartLoading(void*);
+bool StockWMInit_LoadEffects(void*);
bool WMInit_LoadSIAnims(void*);
bool WMInit_EndLoading(void*);
bool WMInit_LoadResources1(void*);
@@ -56,6 +57,7 @@ bool WMInit_SetupWipe(void*);
ChainedFunc initFunctions[] = {
WMInit_StartLoading,
+ StockWMInit_LoadEffects,
WMInit_LoadSIAnims,
WMInit_EndLoading,
WMInit_LoadResources1,
@@ -409,6 +411,11 @@ int dScKoopatlas_c::onDelete() {
FreeScene(0);
FreeScene(1);
+ CleanUpEffectThings();
+ FreeEffects(1);
+ FreeBreff(1);
+ FreeBreft(1);
+
DVD_FreeFile(GetDVDClass2(), "SI_kinoko");
DVD_FreeFile(GetDVDClass2(), "SI_fireflower");
DVD_FreeFile(GetDVDClass2(), "SI_iceflower");
@@ -419,6 +426,8 @@ int dScKoopatlas_c::onDelete() {
levelInfoLoader.unload();
mapListLoader.unload();
+ CleanUpEffectThings();
+
return true;
}