Fix broken vehicle power calculation.
The correct part index is now used when iteration over parts. Also includes minor performance improvement (call part_info once).