roadveh_cmd.c
changeset 2767 25fef06bab87
parent 2760 ebe2caeec116
child 2804 ea4080819175
--- a/roadveh_cmd.c	Sun Dec 18 08:01:05 2005 +0000
+++ b/roadveh_cmd.c	Sun Dec 18 12:10:46 2005 +0000
@@ -18,7 +18,6 @@
 #include "sound.h"
 #include "depot.h"
 #include "vehicle_gui.h"
-#include "ai/ai_event.h"
 
 void ShowRoadVehViewWindow(Vehicle *v);
 
@@ -196,9 +195,6 @@
 		InvalidateWindow(WC_COMPANY, v->owner);
 		if (IsLocalPlayer())
 			InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Road); // updates the replace Road window
-
-		ai_event(_current_player, ttai_Event_BuildVehicle, v->index, tile);
-		ai_event(_current_player, ttai_Event_BuildRoadVehicle, v->index, tile);
 	}
 
 	return cost;