 During the fight at the theme restaurant "Medieval Times",  Jim Carrey (qv) and Matthew Broderick (I) (qv) use weapons  similar to those used in the _"Star Trek" (1966)_ (qv) episode  entitled "Amok Time". The music from that scene was also from "Amok  Time". Director Ben Stiller (qv) is a huge Star Trek fan.