1
0
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:
Aaron van Geffen
2018-06-11 11:18:41 +02:00
parent 62c25d88fb
commit f1d4e5b596
6 changed files with 49 additions and 47 deletions

View File

@@ -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();