parenthesis

try to fix psp build
This commit is contained in:
Anthony Calosa
2016-06-02 12:13:23 +08:00
parent 4530115506
commit ed6755496f

View File

@@ -3010,7 +3010,7 @@ public:
{
if (newPhase != currentPhase && newPhase == phase && game->currentPlayer == ((MTGCardInstance *) target)->controller())
{
if (!onlyIfTargetTapped || ((MTGCardInstance *) target)->isTapped() && !game->currentPlayer->inPlay()->hasAbility(Constants::CANTCHANGELIFE))
if ((!onlyIfTargetTapped || ((MTGCardInstance *) target)->isTapped()) && (!game->currentPlayer->inPlay()->hasAbility(Constants::CANTCHANGELIFE)))
{
if (life > 0)
{