Included supertux.h stuff into it.
[supertux.git] / src / title.cpp
index 39f55a2..10b7c4c 100644 (file)
@@ -187,7 +187,7 @@ bool title(void)
 
       while (SDL_PollEvent(&event))
         {
-          menu_event(event);
+          current_menu->event(event);
           if (event.type == SDL_QUIT)
             {
               done = true;