X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=e4b280351ae9868d7b7e64edd87aa90000db42a3;hb=51dcb2097c619c5f9ba924a7edb4a3bdd6a6986e;hp=6e48ea83955fab48cdd92f65c20050a10fbef4b9;hpb=fda8c9f42aa13663ad6b2f698da787a7280b9965;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 6e48ea83..e4b28035 100644 --- a/src/screens.c +++ b/src/screens.c @@ -346,6 +346,7 @@ void DrawMainMenu() OpenDoor(DOOR_CLOSE_1 | DOOR_OPEN_2); } +#if 0 static void gotoTopLevelDir() { /* move upwards to top level directory */ @@ -374,6 +375,7 @@ static void gotoTopLevelDir() leveldir_current = leveldir_current->node_parent; } } +#endif void HandleMainMenu(int mx, int my, int dx, int dy, int button) { @@ -466,7 +468,9 @@ void HandleMainMenu(int mx, int my, int dx, int dy, int button) SaveLevelSetup_LastSeries(); SaveLevelSetup_SeriesInfo(); +#if 0 gotoTopLevelDir(); +#endif DrawChooseLevel(); }