X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux.cpp;h=79638a03701c702e7fb316284450a4d114216e36;hb=628bd2257f2a318846c9dfc399575a533498dd6c;hp=b4da51170bb8d52a1b3cd64f713fd91fc13a107c;hpb=e3d8e801e0cc2d176d88c0a56a424dfad03277ca;p=supertux.git diff --git a/src/supertux.cpp b/src/supertux.cpp index b4da51170..79638a037 100644 --- a/src/supertux.cpp +++ b/src/supertux.cpp @@ -25,6 +25,7 @@ int main(int argc, char * argv[]) st_joystick_setup(); st_general_setup(); st_menu(); + loadshared(); if (launch_worldmap_mode) { @@ -40,15 +41,14 @@ int main(int argc, char * argv[]) done = false; while (!done) { - loadshared(); done = title(); - unloadshared(); } } clearscreen(0, 0, 0); updatescreen(); + unloadshared(); st_shutdown(); return 0;