projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fixed problem with last_menu not being able to handle menues deeper than two submenues
[supertux.git]
/
src
/
supertux.cpp
diff --git
a/src/supertux.cpp
b/src/supertux.cpp
index
7f0e624
..
0e9c7ce
100644
(file)
--- a/
src/supertux.cpp
+++ b/
src/supertux.cpp
@@
-27,8
+27,6
@@
int main(int argc, char * argv[])
{
int main(int argc, char * argv[])
{
- bool done;
-
st_directory_setup();
parseargs(argc, argv);
st_directory_setup();
parseargs(argc, argv);
@@
-41,7
+39,8
@@
int main(int argc, char * argv[])
if (launch_worldmap_mode)
{
if (launch_worldmap_mode)
{
- worldmap_run();
+ WorldMapNS::WorldMap worldmap;
+ worldmap.display();
}
else if (level_startup_file)
{
}
else if (level_startup_file)
{
@@
-50,11
+49,7
@@
int main(int argc, char * argv[])
}
else
{
}
else
{
- done = false;
- while (!done)
- {
- done = title();
- }
+ title();
}
clearscreen(0, 0, 0);
}
clearscreen(0, 0, 0);