The flight departed at 10:59,[2] after which it was noticed that it was not possible to retract the landing gear fully. Using the Flight Management System (FMS), the crew estimated the aircraft's fuel consumption and the captain decided to shorten the flight and land in Munich. There was insufficient fuel to reach Munich, however, as the FMS was not designed to take into account the extra drag produced by a half-raised landing gear. After an alarm at 12:49 informed the crew that there was only 1.3 metric tons of jet fuel left in the tanks, the pilot quickly redirected the flight to Vienna, 120 nmi (220 km) away, although Zagreb was closer at 40 nmi (75 km). The aircraft ran out of fuel 20 kilometers (12.4 miles) before Vienna and the crew were left to glide the jet towards the runway. It touched down 500 meters (1,640 feet) short, striking airport equipment, spinning 120 degrees, and coming to rest off the runway. Some of the passengers were injured, although none seriously. The aircraft was written off due to the severe damage caused to the underside of the fuselage.[3]