File diff r4724:bb69fd326337 → r4725:3a289e38fda7
road_cmd.c
Show inline comments
 
@@ -22,8 +22,6 @@
 
#include "yapf/yapf.h"
 
#include "depot.h"
 

	
 
void RoadVehEnterDepot(Vehicle *v);
 

	
 

	
 
static uint CountRoadBits(RoadBits r)
 
{
 
@@ -1057,7 +1055,7 @@ static uint32 VehicleEnter_Road(Vehicle 
 
			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;