Time travel movie from the 80s
What is the movie where the hero was back in the Arabian desert. All I really remember is that through the entire film there was a shortish thief who wanted the hero's wrist watch really bad. In the end the hero told the thief he'd give him his watch if he'd help rescue the damsel in distress from the bad guys. After the rescue they were all happy and hero and girl activated time travel and vanished in front of thief. Last line of movie had thief suddenly remembering the watch and wailing out... "What about the waaatch!!!!!" Believe movie may have been a cable (ie Showtime or HBO) release. Guess it could've been late 70s movie. Have searched all over the net to figure out what the name of it was. Anyone?