During scriptwriting, the possibility was discussed of Laszlo being killed in Casablanca, allowing Rick and Ilsa to leave together, but as Casey Robinson wrote to Hal Wallis before filming began, the ending of the film "set up for a swell twist when Rick sends her away on the plane with Laszlo.
Tijekom snimanja scenarija razmatrana je mogućnost da Laszla ubiju u Casablanci, što bi omogućilo Ricku i Ilsi da odu zajedno, ali kako je Casey Robinson napisao Halu Wallisu prije početka snimanja, završetak filma "zamišljen je za elegantni preokret kad je Rick pošalje na avion s Laszlom.