projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- moved loadshared() to the right point
[supertux.git]
/
src
/
supertux.cpp
diff --git
a/src/supertux.cpp
b/src/supertux.cpp
index
73991fe
..
79638a0
100644
(file)
--- a/
src/supertux.cpp
+++ b/
src/supertux.cpp
@@
-11,9
+11,7
@@
*/
#include "supertux.h"
*/
#include "supertux.h"
-
-
-/* --- MAIN --- */
+#include "resources.h"
int main(int argc, char * argv[])
{
int main(int argc, char * argv[])
{
@@
-27,6
+25,7
@@
int main(int argc, char * argv[])
st_joystick_setup();
st_general_setup();
st_menu();
st_joystick_setup();
st_general_setup();
st_menu();
+ loadshared();
if (launch_worldmap_mode)
{
if (launch_worldmap_mode)
{
@@
-49,6
+48,7
@@
int main(int argc, char * argv[])
clearscreen(0, 0, 0);
updatescreen();
clearscreen(0, 0, 0);
updatescreen();
+ unloadshared();
st_shutdown();
return 0;
st_shutdown();
return 0;