Corrected entry: When Bond is chasing Mollaka on the tower crane, Mollaka fails to shoot Bond because he has run out of ammo; the pistol merely clicks. However, when a semiautomatic pistol is out of ammo, not only is the trigger mechanism disabled; more importantly, the slide locks back in the open position, making it obvious that the pistol cannot be fired.
pross79
14th Dec 2006
Correction: It could have been a misfire, in that case the pistol would act exactly as it did in the movie.
pross79