diff options
| author | unknown <pheenoh@gmail.com> | 2020-12-25 21:16:13 -0500 |
|---|---|---|
| committer | unknown <pheenoh@gmail.com> | 2020-12-25 21:16:13 -0500 |
| commit | 64a6a97b7bfdd732e4b5053c51189fba5015210d (patch) | |
| tree | 0521dd64964ba1919f71e0534c87add4b01c050a /src/d/d_save/d_save.cpp | |
| parent | e0667115537c45a4de6baf4080dacbd50aac677f (diff) | |
| parent | e8315cdb81f102aab0dbac2d2cc9c6daf7df0a11 (diff) | |
add missing class and clang-format
Diffstat (limited to 'src/d/d_save/d_save.cpp')
| -rw-r--r-- | src/d/d_save/d_save.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_save/d_save.cpp b/src/d/d_save/d_save.cpp index 0ba6acfd01..daf172182e 100644 --- a/src/d/d_save/d_save.cpp +++ b/src/d/d_save/d_save.cpp @@ -93,7 +93,7 @@ u16 dSv_player_status_a_c::getRupeeMax(void) const { BOOL dSv_player_status_a_c::isMagicFlag(u8 i_magic) const { if (i_magic == 0) { - return g_dComIfG_gameInfo.save_file.getEventFlags().isEventBit(0x2304); + return g_dComIfG_gameInfo.info.getSaveFile().getEventFlags().isEventBit(0x2304); } return (this->mMagicFlag & (u8)(1 << i_magic)) ? TRUE : FALSE; } @@ -252,7 +252,7 @@ void dSv_player_item_c::setItem(int current_items_index, u8 new_items_index) { int select_item_index = DEFAULT_SELECT_ITEM_INDEX; do { - if (current_items_index == g_dComIfG_gameInfo.save_file.getPlayerStatusA().getSelectItemIndex(select_item_index)) { + if (current_items_index == g_dComIfG_gameInfo.info.getSaveFile().getPlayerStatusA().getSelectItemIndex(select_item_index)) { dComIfGp_setSelectItem(select_item_index); } select_item_index++; @@ -632,7 +632,7 @@ void dSv_player_item_record_c::setBottleNum(u8 i_bottleIdx, u8 bottle_num) { u8 dSv_player_item_record_c::addBottleNum(u8 i_bottleIdx, s16 param_2) { int iVar3 = this->mBottles[i_bottleIdx] + param_2; - g_dComIfG_gameInfo.save_file.getPlayerItem().getItem((u8)(i_bottleIdx + 0xB), true); + g_dComIfG_gameInfo.info.getSaveFile().getPlayerItem().getItem((u8)(i_bottleIdx + 0xB), true); if (iVar3 < 0) { this->mBottles[i_bottleIdx] = 0; @@ -676,7 +676,7 @@ u8 dSv_player_item_max_c::getBombNum(u8 param_1) const { u8 iVar3; iVar3 = 0x1; - if (g_dComIfG_gameInfo.save_file.getPlayerGetItem().isFirstBit(BOMB_BAG_LV2)) { + if (g_dComIfG_gameInfo.info.getSaveFile().getPlayerGetItem().isFirstBit(BOMB_BAG_LV2)) { iVar3 = 0x2; } |
