SupSuper/OpenXcom — pull request #916 by redv (2014-07-24 17:57:39+00:00)
Title: Fix: incorrect rearming of Craft weapons

Rearming will be incorrect if

1. A craft has a cannon.
2. Remaining ammo of the cannon is 100-149 rounds (101 for example).
3. Remaining ammo on a base is only one clip (x50).

Then the cannon will be fully rearmed, but must have only 151 round.
Link to test save: https://dl.dropboxusercontent.com/u/73411168/test.7z