1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Move tile invalidation to the action

This commit is contained in:
Michael Bernardi
2023-07-24 15:29:48 +02:00
parent 909fd42a4e
commit 0faff29a88
2 changed files with 1 additions and 45 deletions

View File

@@ -240,6 +240,7 @@ GameActions::Result TileModifyAction::QueryExecute(bool isExecuting) const
if (isExecuting)
{
MapInvalidateTileFull(_loc);
auto intent = Intent(INTENT_ACTION_TILE_MODIFY);
// TODO: add location data to intent.
ContextBroadcastIntent(&intent);