[Fix] Fixed bug with cargo getting reset when trying to change ships.
This commit is contained in:
parent
ccb2be36c1
commit
da162afe0d
@ -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>
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user