summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-18 12:10:46 +0000
committertron <tron@openttd.org>2005-12-18 12:10:46 +0000
commitb06b3e2ca2789867580a5227ec346cd69a84eb53 (patch)
treea0ac2ff6091f2ec7e9b8c392fc45fc93c8b6b85f /roadveh_cmd.c
parent2956b119b26c78df4973cf077e288501baeaf649 (diff)
downloadopenttd-b06b3e2ca2789867580a5227ec346cd69a84eb53.tar.xz
(svn r3313) Remove GPMI related changes from trunk
Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index b836b8372..3467f3ae1 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -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 @@ int32 CmdBuildRoadVeh(int x, int y, uint32 flags, uint32 p1, uint32 p2)
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;