1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Rename snake_case functions in OpenRCT2/network folder (#19203)

This commit is contained in:
Hielke Morsink
2023-01-18 07:05:53 +01:00
committed by GitHub
parent bf41249e64
commit 2c224cfd53
46 changed files with 611 additions and 609 deletions

View File

@@ -233,7 +233,7 @@ namespace OpenRCT2
auto replayData = std::make_unique<ReplayRecordData>();
replayData->magic = ReplayMagic;
replayData->version = ReplayVersion;
replayData->networkId = network_get_version();
replayData->networkId = NetworkGetVersion();
replayData->name = name;
replayData->tickStart = gCurrentTicks;
if (maxTicks != k_MaxReplayTicks)
@@ -725,11 +725,11 @@ namespace OpenRCT2
serialiser << data.networkId;
#ifndef DISABLE_NETWORK
// NOTE: This does not mean the replay will not function, only a warning.
if (data.networkId != network_get_version())
if (data.networkId != NetworkGetVersion())
{
LOG_WARNING(
"Replay network version mismatch: '%s', expected: '%s'", data.networkId.c_str(),
network_get_version().c_str());
NetworkGetVersion().c_str());
}
#endif