diff --git a/vehicle.c b/vehicle.c index 0424b4768f..5c8a275de3 100644 --- a/vehicle.c +++ b/vehicle.c @@ -129,7 +129,7 @@ static void *EnsureNoVehicleProcZ(Vehicle *v, void *data) const TileInfo *ti = data; if (v->tile != ti->tile || v->type == VEH_Disaster) return NULL; - if (!IS_INT_INSIDE(ti->z - v->z_pos, 0, 8)) return NULL; + if (!IS_INT_INSIDE(ti->z - v->z_pos, 0, 8 + 1)) return NULL; VehicleInTheWayErrMsg(v); return v;