mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make AdminUpdateType a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
bd86fe69c0
commit
412c692afe
+1
-1
@@ -263,7 +263,7 @@ void DebugReconsiderSendRemoteMessages()
|
||||
bool enable = _settings_client.gui.developer >= 2;
|
||||
|
||||
for (ServerNetworkAdminSocketHandler *as : ServerNetworkAdminSocketHandler::IterateActive()) {
|
||||
if (as->update_frequency[ADMIN_UPDATE_CONSOLE].Test(AdminUpdateFrequency::Automatic)) {
|
||||
if (as->update_frequency[AdminUpdateType::Console].Test(AdminUpdateFrequency::Automatic)) {
|
||||
enable = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user