From 2a5880812c8733e023f2d7894cec2c3ab6262a26 Mon Sep 17 00:00:00 2001 From: Dino Suvalic <82914521+MakoInfused@users.noreply.github.com> Date: Sat, 9 Nov 2024 08:12:00 -0500 Subject: [PATCH] fixed typo stylistic change reequested by Ghabry --- src/game_interpreter_battle.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/game_interpreter_battle.cpp b/src/game_interpreter_battle.cpp index a8c4180856..8fc9a65495 100644 --- a/src/game_interpreter_battle.cpp +++ b/src/game_interpreter_battle.cpp @@ -767,7 +767,7 @@ bool Game_Interpreter_Battle::CommandManiacGetBattleInfo(lcf::rpg::EventCommand Main_Data::game_variables->Set(information_identifier, states); for (size_t i = 0; i < states; i++) { - Main_Data::game_variables->Set(information_identifier + i + 1, battler->HasState(lcf::Data::states.at(i).ID)); + Main_Data::game_variables->Set(information_identifier + i + 1, battler->HasState(lcf::Data::states[i].ID)); } break; } @@ -778,10 +778,9 @@ bool Game_Interpreter_Battle::CommandManiacGetBattleInfo(lcf::rpg::EventCommand Main_Data::game_variables->Set(information_identifier, elements); for (size_t i = 0; i < elements; i++) { - Main_Data::game_variables->Set(information_identifier + i + 1, battler->GetAttributeRateShift(lcf::Data::attributes.at(i).ID) + 1); + Main_Data::game_variables->Set(information_identifier + i + 1, battler->GetAttributeRateShift(lcf::Data::attributes[i].ID) + 1); } break; - break; } case 3: // others: x, y, can move, defending, charging, appeared