- added read_string_vector
[supertux.git] / src / title.cpp
index 3d877a1..13f878b 100644 (file)
@@ -124,22 +124,18 @@ int title(void)
                   quit = 1;
                 }
             }
-#ifdef JOY_YES
           else if (event.type == SDL_JOYAXISMOTION && event.jaxis.axis == JOY_Y)
             {
               if (event.jaxis.value > 1024)
-                menuaction = MN_DOWN;
+                menuaction = MENU_ACTION_DOWN;
               else if (event.jaxis.value < -1024)
-                menuaction = MN_UP;
+                menuaction = MENU_ACTION_UP;
             }
           else if (event.type == SDL_JOYBUTTONDOWN)
             {
               /* Joystick button: Continue: */
-
-              menuaction = MN_HIT;
+              menuaction = MENU_ACTION_HIT;
             }
-#endif
-
         }
 
       /* Draw the background: */