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 79022d231..0ddb23387 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -1497,7 +1497,7 @@ static void CheckIfRoadVehNeedsService(Vehicle *v)
{
int i;
- if (_patches.servint_roadveh == 0 && IS_HUMAN_PLAYER(v->owner))
+ if (_patches.servint_roadveh == 0)
return;
if (v->date_of_last_service + v->service_interval > _date)
@@ -1506,7 +1506,7 @@ static void CheckIfRoadVehNeedsService(Vehicle *v)
if (v->vehstatus & VS_STOPPED)
return;
- if (_patches.gotodepot && IS_HUMAN_PLAYER(v->owner) && ScheduleHasDepotOrders(v->schedule_ptr))
+ if (_patches.gotodepot && ScheduleHasDepotOrders(v->schedule_ptr))
return;
// Don't interfere with a depot visit scheduled by the user, or a