summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index b45fb6e93..b836b8372 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -197,8 +197,8 @@ int32 CmdBuildRoadVeh(int x, int y, uint32 flags, uint32 p1, uint32 p2)
if (IsLocalPlayer())
InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Road); // updates the replace Road window
- ai_event(_current_player, ottd_Event_BuildVehicle, v->index, tile);
- ai_event(_current_player, ottd_Event_BuildRoadVehicle, v->index, tile);
+ ai_event(_current_player, ttai_Event_BuildVehicle, v->index, tile);
+ ai_event(_current_player, ttai_Event_BuildRoadVehicle, v->index, tile);
}
return cost;