X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux.cpp;h=79638a03701c702e7fb316284450a4d114216e36;hb=628bd2257f2a318846c9dfc399575a533498dd6c;hp=73991fe1c45f61a03821c32a9f7766e9d99caf0c;hpb=aadd77c676baae31db931c8e64cd1713c24289d5;p=supertux.git diff --git a/src/supertux.cpp b/src/supertux.cpp index 73991fe1c..79638a037 100644 --- a/src/supertux.cpp +++ b/src/supertux.cpp @@ -11,9 +11,7 @@ */ #include "supertux.h" - - -/* --- MAIN --- */ +#include "resources.h" int main(int argc, char * argv[]) { @@ -27,6 +25,7 @@ int main(int argc, char * argv[]) st_joystick_setup(); st_general_setup(); st_menu(); + loadshared(); if (launch_worldmap_mode) { @@ -49,6 +48,7 @@ int main(int argc, char * argv[]) clearscreen(0, 0, 0); updatescreen(); + unloadshared(); st_shutdown(); return 0;