 At first it seemed that the film would be made on location in  Thailand, but even after some script revisions had been made,  negotiations between the production company and the Thai government  failed to come to agreement about the scripts final content and the  production crew was denied permission to film in Thailand. The Thai  authorities maintained that there were still too many historical  inaccuracies for it to be acceptable. Instead it was filmed in  neighboring Malaysia.