[Fix] So, when buying outfits, you may have noticed free cargo space
goes mental! Not anymore! :D
This commit is contained in:
parent
9c2898e0ea
commit
1ab4ad1b7a
@ -1173,8 +1173,8 @@ 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. */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user