Browse Source

bugfix: fix when team change, battle reaction will all be replaced by physics attacking

Pal Lockheart 7 years ago
parent
commit
83f4f4d4e4
1 changed files with 0 additions and 3 deletions
  1. 0 3
      script.c

+ 0 - 3
script.c

@@ -2101,9 +2101,6 @@ PAL_InterpretInstruction(
             gpGlobals->rgParty[gpGlobals->wMaxPartyMemberIndex].wPlayerRole =
                pScript->rgwOperand[i] - 1;
 
-            g_Battle.rgPlayer[gpGlobals->wMaxPartyMemberIndex].action.ActionType =
-               kBattleActionAttack;
-
             gpGlobals->wMaxPartyMemberIndex++;
          }
       }