summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/road_cmd.c b/road_cmd.c
index 4592bd7a0..7a0baae69 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -487,6 +487,8 @@ do_clear:;
_m[tile].m5 |= pieces;
MarkTileDirtyByTile(tile);
+
+ ai_event(_current_player, ottd_Event_BuildRoad, tile, pieces);
}
return cost;
}