mirror of
https://github.com/zeldaret/ph
synced 2026-05-26 23:47:18 -04:00
92% match Inventory::Save
This commit is contained in:
+4
-3
@@ -39,11 +39,12 @@ NONMATCH void Inventory::Save(SaveInventory *save) {
|
||||
for (s32 i = 0; i < Gem_COUNT; ++i) {
|
||||
save->numGems[i] = this->mNumGems[i];
|
||||
}
|
||||
for (s32 i = 0; i < ShipPart_COUNT; ++i) {
|
||||
for (s32 i = 0, j = 0; i < ShipPart_COUNT; ++i, j = 0) {
|
||||
save->equippedShipParts[i] = this->mEquippedShipParts[i];
|
||||
for (s32 j = 0; j < ShipType_COUNT; ++j) {
|
||||
do {
|
||||
save->shipParts[i].parts[j] = this->mShipParts[i].parts[j];
|
||||
}
|
||||
++j;
|
||||
} while (j < ShipType_COUNT);
|
||||
}
|
||||
save->shipPartPricesShown = this->mShipPartPricesShown;
|
||||
for (s32 i = 0; i < Treasure_COUNT; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user