[Fix] Fixed bug with cargo getting reset when trying to change ships.

This commit is contained in:
Allanis 2014-03-07 21:48:52 +00:00
parent ccb2be36c1
commit da162afe0d
2 changed files with 2 additions and 3 deletions

View File

@ -517,7 +517,7 @@
<description>Constructed by many captured and then enslaved DLF armsmen. The design is pretty sturdy but you can't help to think there must be a hidden bomb somewhere, just waiting to go off and kill the Draktharr opressors.</description>
<faction>Draktharr</faction>
<tech>
<main>0</main>
<main>3</main>
<special>0</special>
</tech>
<services>11</services>

View File

@ -1163,7 +1163,6 @@ int pilot_cargoUsed(Pilot* pilot) {
int i, q;
q = 0;
pilot->cargo_free = pilot->ship->cap_cargo;
for(i = 0; i < pilot->ncommodities; i++)
q += pilot->commodities[i].quantity;