Harrison Ford fick rollen som Indiana Jones när det var mindre än tre veckor kvar innan filmen skulle börja spelas in.