1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Fix mistake

This commit is contained in:
duncanspumpkin
2019-08-11 07:58:04 +01:00
parent 9619fd384d
commit 140f406714

View File

@@ -94,7 +94,7 @@ public:
return res;
}
if (!map_is_location_owned(_loc) && !gCheatsSandboxMode)
if (!map_is_location_owned({ _loc.x, _loc.y, _loc.z }) && !gCheatsSandboxMode)
{
res->Error = GA_ERROR::NOT_OWNED;
res->ErrorMessage = STR_LAND_NOT_OWNED_BY_PARK;