pioneerspacesim/pioneer — pull request #2459 by robn (2013-10-02 11:20:33+00:00)
Title: TradeShips: Don't try to repeatedly add 0 cargo

If the ship starts adding cargo with very little free space (as happens with a small ship with plenty of equipment, or a massive ship with an equally massive hyperdrive), then the math breaks and we end up looping forever waiting for a cargo bay to fill as we add nothing to it.

Fixes #2432.