--- a/roadveh_cmd.c Wed Dec 14 14:38:23 2005 +0000
+++ b/roadveh_cmd.c Wed Dec 14 15:54:23 2005 +0000
@@ -197,8 +197,8 @@
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;