1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

Rename GameActionResult and use GameActions namespace instead (#13184)

This commit is contained in:
ζeh Matt
2020-10-15 04:04:39 +03:00
committed by GitHub
parent 92e7b6244b
commit 645289f4ec
121 changed files with 1471 additions and 1390 deletions

View File

@@ -158,7 +158,7 @@ private:
req.method = Http::Method::GET;
req.url = url;
Http::DoAsync(req, [this, entry, name](Http::Response response) {
if (response.status == Http::Status::OK)
if (response.status == Http::Status::Ok)
{
// Check that download operation hasn't been cancelled
if (_downloadingObjects)
@@ -208,7 +208,7 @@ private:
req.method = Http::Method::GET;
req.url = OPENRCT2_API_LEGACY_OBJECT_URL + name;
Http::DoAsync(req, [this, entry, name](Http::Response response) {
if (response.status == Http::Status::OK)
if (response.status == Http::Status::Ok)
{
auto jresponse = Json::FromString(response.body);
if (jresponse.is_object())