Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16890
Modified Files:
supertux.cpp
Log Message:
- moved loadshared() to the right point
Index: supertux.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/supertux.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- supertux.cpp 11 Apr 2004 16:58:06 -0000 1.8
+++ supertux.cpp 11 Apr 2004 17:04:03 -0000 1.9
@@ -25,6 +25,7 @@
st_joystick_setup();
st_general_setup();
st_menu();
+ loadshared();
if (launch_worldmap_mode)
{
@@ -40,15 +41,14 @@
done = false;
while (!done)
{
- loadshared();
done = title();
- unloadshared();
}
}
clearscreen(0, 0, 0);
updatescreen();
+ unloadshared();
st_shutdown();
return 0;
|