1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 02:05:13 +01:00

Expose “animation is backwards” flag in Tile Inspector

This commit is contained in:
Michael Steenbeek
2024-04-12 20:08:34 +02:00
committed by GitHub
parent f9bd26214b
commit 005aece802
9 changed files with 51 additions and 2 deletions

View File

@@ -229,6 +229,13 @@ GameActions::Result TileModifyAction::QueryExecute(bool isExecuting) const
res = TileInspector::BannerToggleBlockingEdge(_loc, elementIndex, edgeIndex, isExecuting);
break;
}
case TileModifyType::WallSetAnimationIsBackwards:
{
const auto elementIndex = _value1;
const bool broken = _value2;
res = TileInspector::WallSetAnimationIsBackwards(_loc, elementIndex, broken, isExecuting);
break;
}
default:
LOG_ERROR("Invalid tile modification type %u", _setting);
return GameActions::Result(