1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

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 =
"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 {
type: TileElementType;

View File

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