mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Remove Network function name prefixes given namespace qualifiers
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OpenRCT2::Ui
|
||||
}
|
||||
// This is in non performant so only make network games suffer for it
|
||||
// non networked games do not need this as its to prevent desyncs.
|
||||
if ((NetworkGetMode() != NETWORK_MODE_NONE) && windowMgr->FindByClass(WindowClass::TrackDesignPlace) != nullptr)
|
||||
if ((Network::GetMode() != Network::Mode::none) && windowMgr->FindByClass(WindowClass::TrackDesignPlace) != nullptr)
|
||||
{
|
||||
TrackPlaceClearProvisionalTemporarily();
|
||||
}
|
||||
@@ -57,7 +57,7 @@ namespace OpenRCT2::Ui
|
||||
}
|
||||
// This is in non performant so only make network games suffer for it
|
||||
// non networked games do not need this as its to prevent desyncs.
|
||||
if ((NetworkGetMode() != NETWORK_MODE_NONE) && windowMgr->FindByClass(WindowClass::TrackDesignPlace) != nullptr)
|
||||
if ((Network::GetMode() != Network::Mode::none) && windowMgr->FindByClass(WindowClass::TrackDesignPlace) != nullptr)
|
||||
{
|
||||
TrackPlaceRestoreProvisional();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user