~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/ui_fsmenu/main.cc

  • Committer: The Widelands Bunnybot
  • Date: 2021-06-09 12:34:39 UTC
  • Revision ID: bunnybot@widelands.org-20210609123439-msgbw2sa8t49lcl6
Use shared_ptr for AddOnInfo (#4747)

(by Noordfrees)
99258816175fffcaa8e7cd135c04d0117f8c25c1

Show diffs side-by-side

added added

removed removed

Lines of Context:
791
791
 
792
792
bool MainMenu::check_desyncing_addon() {
793
793
        for (const auto& pair : AddOns::g_addons) {
794
 
                if (!pair.first.sync_safe && pair.second) {
 
794
                if (!pair.first->sync_safe && pair.second) {
795
795
                        UI::WLMessageBox mmb(
796
796
                           this, UI::WindowStyle::kFsMenu, _("Desyncing Add-On Found"),
797
797
                           _("An enabled add-on is known to cause desyncs. Proceed at your own risk."),