Unused Variable

MTGRules.cpp:1361:11: error: unused variable ‘player’
[-Werror=unused-variable]
This commit is contained in:
Anthony Calosa
2016-06-29 11:38:51 +08:00
parent 6d09c12f93
commit 69d92bc0ea

View File

@@ -1358,7 +1358,7 @@ int MTGBestowRule::isReactingToClick(MTGCardInstance * card, ManaCost * mana)
{
if (!card->model)
return 0;
Player * player = game->currentlyActing();
//Player * player = game->currentlyActing();
if (!card->model->data->getManaCost()->getBestow())
return 0;
if (card->isInPlay(game))