Rename openrct2_corrupt to openrct2_corrupt_deprecated

This commit is contained in:
Hielke Morsink 2020-05-03 13:47:48 +02:00
parent f4fcaef0cd
commit e5b1508694
2 changed files with 3 additions and 3 deletions

View File

@ -356,7 +356,7 @@ declare global {
} }
type TileElementType = type TileElementType =
"surface" | "footpath" | "track" | "small_scenery" | "wall" | "entrance" | "large_scenery" | "banner" | "openrct2_corrupt"; "surface" | "footpath" | "track" | "small_scenery" | "wall" | "entrance" | "large_scenery" | "banner" | "openrct2_corrupt_deprecated";
interface BaseTileElement { interface BaseTileElement {
type: TileElementType; type: TileElementType;

View File

@ -62,7 +62,7 @@ namespace OpenRCT2::Scripting
case TILE_ELEMENT_TYPE_BANNER: case TILE_ELEMENT_TYPE_BANNER:
return "banner"; return "banner";
case TILE_ELEMENT_TYPE_CORRUPT: case TILE_ELEMENT_TYPE_CORRUPT:
return "openrct2_corrupt"; return "openrct2_corrupt_deprecated";
default: default:
return "unknown"; return "unknown";
} }
@ -87,7 +87,7 @@ namespace OpenRCT2::Scripting
type = TILE_ELEMENT_TYPE_LARGE_SCENERY; type = TILE_ELEMENT_TYPE_LARGE_SCENERY;
else if (value == "banner") else if (value == "banner")
type = TILE_ELEMENT_TYPE_BANNER; type = TILE_ELEMENT_TYPE_BANNER;
else if (value == "openrct2_corrupt") else if (value == "openrct2_corrupt_deprecated")
type = TILE_ELEMENT_TYPE_CORRUPT; type = TILE_ELEMENT_TYPE_CORRUPT;
else else
return; return;