浏览代码

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

Pal Lockheart 7 年之前
父节点
当前提交
83f4f4d4e4
共有 1 个文件被更改,包括 0 次插入3 次删除
  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++;
          }
       }