@@ -19,14 +19,12 @@
#include "town.h"
#include "gfx.h"
#include "sound.h"
#include "yapf/yapf.h"
#include "depot.h"
void RoadVehEnterDepot(Vehicle *v);
static uint CountRoadBits(RoadBits r)
{
uint count = 0;
if (r & ROAD_NW) ++count;
@@ -1054,13 +1052,13 @@ static uint32 VehicleEnter_Road(Vehicle
break;
case ROAD_TILE_DEPOT:
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;
}
default: break;