mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Rename Http namespace, add default initialisers.
This commit is contained in:
@@ -104,7 +104,7 @@ namespace OpenRCT2
|
||||
#endif
|
||||
StdInOutConsole _stdInOutConsole;
|
||||
#ifndef DISABLE_HTTP
|
||||
http::HTTP _http;
|
||||
Network::Http::Http _http;
|
||||
#endif
|
||||
|
||||
// Game states
|
||||
@@ -720,7 +720,7 @@ namespace OpenRCT2
|
||||
#ifndef DISABLE_HTTP
|
||||
// Download park and open it using its temporary filename
|
||||
void * data;
|
||||
size_t dataSize = http::download_park(gOpenRCT2StartupActionPath, &data);
|
||||
size_t dataSize = Network::Http::DownloadPark(gOpenRCT2StartupActionPath, &data);
|
||||
if (dataSize == 0)
|
||||
{
|
||||
title_load();
|
||||
|
||||
Reference in New Issue
Block a user