Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
MokhaLeee committed Dec 25, 2024
1 parent da5989e commit 66a66d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Wizardry/Core/BattleSys/Source/BattleUI.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ void ModifyBattleStatusForUI(void)
{
/* Fix for real-damage */
if (gBattleActor.battleAttack < gBattleTarget.battleDefense)
gBattleActor.battleAttack = gBattleTarget.battleDefense;
gBattleActor.battleAttack = gBattleTarget.battleDefense;

if (gBattleTarget.battleAttack < gBattleActor.battleDefense)
gBattleTarget.battleAttack = gBattleActor.battleDefense;
gBattleTarget.battleAttack = gBattleActor.battleDefense;

gBattleActor.battleAttack += CalcBattleRealDamage(&gBattleActor, &gBattleTarget);
gBattleTarget.battleAttack += CalcBattleRealDamage(&gBattleTarget, &gBattleActor);
Expand Down

0 comments on commit 66a66d9

Please sign in to comment.