--- a/road_cmd.c Sun Dec 18 08:01:05 2005 +0000
+++ b/road_cmd.c Sun Dec 18 12:10:46 2005 +0000
@@ -17,7 +17,6 @@
#include "depot.h"
#include "pbs.h"
#include "debug.h"
-#include "ai/ai_event.h"
/* When true, GetTrackStatus for roads will treat roads under reconstruction
* as normal roads instead of impassable. This is used when detecting whether
@@ -487,8 +486,6 @@
_m[tile].m5 |= pieces;
MarkTileDirtyByTile(tile);
-
- ai_event(_current_player, ttai_Event_BuildRoad, tile, pieces);
}
return cost;
}
@@ -674,8 +671,6 @@
(p1 | 0x20) /* map5 */
);
- ai_event(_current_player, ttai_Event_BuildDepot, dep->index, tile);
- ai_event(_current_player, ttai_Event_BuildRoadDepot, dep->index, tile);
}
return cost + _price.build_road_depot;
}
@@ -1160,10 +1155,6 @@
if (v->type == VEH_Road && v->u.road.frame == 11) {
if (_roadveh_enter_depot_unk0[GB(_m[tile].m5, 0, 2)] == v->u.road.state) {
RoadVehEnterDepot(v);
-
- ai_event(v->owner, ttai_Event_VehicleEnterDepot, v->index, tile);
- ai_event(v->owner, ttai_Event_RoadVehicleEnterDepot, v->index, tile);
-
return 4;
}
}