[Fix] So, when buying outfits, you may have noticed free cargo space

goes mental! Not anymore! :D
This commit is contained in:
Allanis 2014-03-10 00:06:24 +00:00
parent 9c2898e0ea
commit 1ab4ad1b7a

View File

@ -1173,7 +1173,7 @@ static void pilot_calcCargo(Pilot* pilot) {
q = pilot_cargoUsed(pilot); q = pilot_cargoUsed(pilot);
pilot->cargo_free -= q; /* Reduce space left. */ pilot->cargo_free = pilot->ship->cap_cargo - q; /* Reduce space left. */
pilot->solid->mass = pilot->ship->mass + q; /* Cargo affects weight. */ pilot->solid->mass = pilot->ship->mass + q; /* Cargo affects weight. */
} }