Ticket #4772: gob-construct_pause_dialog_using_coordinates_instead_of_name.patch

File gob-construct_pause_dialog_using_coordinates_instead_of_name.patch, 484 bytes (added by Templier, 14 years ago)

Use the other constructor to create the Pause Dialog

  • engines/gob/gob.cpp

     
    8484        GUI::StaticTextWidget *_text;
    8585};
    8686
    87 PauseDialog::PauseDialog() : GUI::Dialog("PauseDialog") {
     87PauseDialog::PauseDialog() : GUI::Dialog(0, 0, 1, 1) {
    8888        _backgroundType = GUI::ThemeEngine::kDialogBackgroundSpecial;
    8989
    9090        _message = "Game paused. Press Ctrl+p again to continue.";