Fix some code errors.

- removing an engine from a helicopter leaves it useless.