]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
Some debug about textures.
[lugaru.git] / Source / GameTick.cpp
index baac306c54fa82ac7bcd59d5ca05bf847897cd11..03c0efdd8eeac66e358032b2498821bfeb56c875 100644 (file)
@@ -5771,6 +5771,8 @@ void Game::LoadMenu(){
     }
 }
 
+extern SDL_Rect **resolutions;
+
 void MenuTick(){
     //menu buttons
     selected=Menu::getSelected(mousecoordh*640/screenwidth,480-mousecoordv*480/screenheight);
@@ -5837,7 +5839,6 @@ void MenuTick(){
                                bool isCustomResolution,found;
                                switch(selected){
                                        case 0:
-                                               extern SDL_Rect **resolutions;
                                                isCustomResolution = true;
                                                found = false;
                                                for(int i = 0; (!found) && (resolutions[i]); i++) {