Removed unused variables

This commit is contained in:
Xawotihs@gmail.com
2013-01-28 22:37:01 +00:00
parent 48d45f2a65
commit 73131c8064
3 changed files with 27 additions and 10 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ int MTGEventBonus::receiveEvent(WEvent * event)
//only spells going to the stack are counted.
if(game->turn <2)//this shouldnt trigger on first turn, chances are they are cheating.
return 0;
if (WEventCardTappedForMana* e = dynamic_cast<WEventCardTappedForMana*>(event))
if (dynamic_cast<WEventCardTappedForMana*>(event))
{
if(chain[currentPlayer->getId()]/5 > 0)
@@ -1500,7 +1500,7 @@ PermanentAbility(observer, _id)
int MTGBlockRule::receiveEvent(WEvent *e)
{
if (WEventBlockersChosen * event = dynamic_cast<WEventBlockersChosen*>(e))
if (dynamic_cast<WEventBlockersChosen*>(e))
{
Player * p = game->currentPlayer;
+1 -1
View File
@@ -557,7 +557,7 @@ int TestSuite::loadNext()
size_t thread_count = 1;
#ifdef QT_CONFIG
thread_count = QThread::idealThreadCount();
thread_count = 1;//QThread::idealThreadCount();
#elif defined(IOS)
thread_count = 6;
#else