summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index 25270fc5e..eca9c65b7 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -1214,7 +1214,7 @@ static inline void ClearSlot(Vehicle *v, RoadStop *rs)
rs->slot[v->u.road.slotindex] = INVALID_SLOT;
}
-static void RoadVehEventHandler(Vehicle *v)
+static void RoadVehController(Vehicle *v)
{
GetNewVehiclePosResult gp;
byte new_dir, old_dir;
@@ -1592,7 +1592,7 @@ static void AgeRoadVehCargo(Vehicle *v)
void RoadVeh_Tick(Vehicle *v)
{
AgeRoadVehCargo(v);
- RoadVehEventHandler(v);
+ RoadVehController(v);
}
static void CheckIfRoadVehNeedsService(Vehicle *v)