road_cmd.c
changeset 4725 f7284b86833f
parent 4638 8abe4f10b94b
child 4848 56549aa3e234
--- a/road_cmd.c	Wed Oct 04 07:10:35 2006 +0000
+++ b/road_cmd.c	Wed Oct 04 12:01:59 2006 +0000
@@ -22,8 +22,6 @@
 #include "yapf/yapf.h"
 #include "depot.h"
 
-void RoadVehEnterDepot(Vehicle *v);
-
 
 static uint CountRoadBits(RoadBits r)
 {
@@ -1057,7 +1055,7 @@
 			if (v->type == VEH_Road &&
 					v->u.road.frame == 11 &&
 					_roadveh_enter_depot_unk0[GetRoadDepotDirection(tile)] == v->u.road.state) {
-				RoadVehEnterDepot(v);
+				VehicleEnterDepot(v);
 				return 4;
 			}
 			break;