Skip to content

Commit

Permalink
Fix undefined reference to Screen::scrollWheelEnabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quipyowert2 authored and stephanemagnenat committed Apr 24, 2023
1 parent 05db61b commit fd61496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ void Settings::load(std::string filename)
READ_PARSED_INT(mute);
READ_PARSED_INT(rememberUnit);
READ_PARSED_INT(scrollWheelEnabled);
#ifndef YOG_SERVER_ONLY
GAGGUI::Screen::scrollWheelEnabled = scrollWheelEnabled;
#endif

for(int n=0; n<IntBuildingType::NB_BUILDING; ++n)
{
Expand Down

0 comments on commit fd61496

Please sign in to comment.