From 8eb664f93dae60ab4d5caf7673ee1356f3f2ce46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Snoen?= Date: Wed, 18 Dec 2013 05:50:30 +0100 Subject: [PATCH] Fixed grammatical then/than error. --- projects/mtg/src/AIHints.cpp | 2 +- projects/mtg/src/AIPlayerBaka.cpp | 4 ++-- projects/mtg/src/Credits.cpp | 2 +- projects/mtg/src/GameStateDuel.cpp | 2 +- projects/mtg/src/MTGRules.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/projects/mtg/src/AIHints.cpp b/projects/mtg/src/AIHints.cpp index c8dae463f..0482a77d7 100644 --- a/projects/mtg/src/AIHints.cpp +++ b/projects/mtg/src/AIHints.cpp @@ -314,7 +314,7 @@ bool AIHints::canWeCombo(GameObserver* observer,MTGCardInstance * card,AIPlayerB int comboPartsRestriction = 0; if(gotCombo) - return gotCombo;//because more then one might be possible at any time. + return gotCombo;//because more than one might be possible at any time. if (hints[i]->hold.size()) { for(unsigned int hPart = 0; hPart < hints[i]->hold.size(); hPart++) diff --git a/projects/mtg/src/AIPlayerBaka.cpp b/projects/mtg/src/AIPlayerBaka.cpp index 3368812d0..b126eb040 100644 --- a/projects/mtg/src/AIPlayerBaka.cpp +++ b/projects/mtg/src/AIPlayerBaka.cpp @@ -445,7 +445,7 @@ int OrderedAIAction::getEfficiency() } if ((drawer->getNumCards() >= p->game->library->nb_cards && (Targetable*)p == drawer->getTarget()) || (p->game->hand->nb_cards > 10 && (Targetable*)p == drawer->getTarget())) { - //if the amount im drawing will mill me to death or i have more then 10 cards in hand, eff is 0; + //if the amount im drawing will mill me to death or i have more than 10 cards in hand, eff is 0; efficiency = 0; } break; @@ -853,7 +853,7 @@ ManaCost * AIPlayerBaka::getPotentialMana(MTGCardInstance * target) if (card == target) used[card] = true; //http://code.google.com/p/wagic/issues/detail?id=76 if (!used[card] && amp->isReactingToClick(card) && amp->output->getConvertedCost() == 1) - {//ai can't use cards which produce more then 1 converted while using the old pMana method. + {//ai can't use cards which produce more than 1 converted while using the old pMana method. result->add(amp->output); used[card] = true; } diff --git a/projects/mtg/src/Credits.cpp b/projects/mtg/src/Credits.cpp index 1e07fcb49..64c4a609e 100644 --- a/projects/mtg/src/Credits.cpp +++ b/projects/mtg/src/Credits.cpp @@ -386,7 +386,7 @@ void Credits::computeTournament(GameObserver* g, GameApp * _app,bool tournament, } if (mGamesWon>mGamesPlayed*0.80 && mGamesWondidWin()) { - //the following section will be called only in a classic or demo gamemode and if a tournament or match with more then one game is activ + //the following section will be called only in a classic or demo gamemode and if a tournament or match with more than one game is activ if ( (mParent->gameType == GAME_TYPE_CLASSIC || mParent->gameType == GAME_TYPE_DEMO)&& mParent->players[1] == PLAYER_TYPE_CPU && (tournament->isTournament() || tournament->getGamesToPlay()>1 )) { setGamePhase(DUEL_STATE_SHOW_SCORE); diff --git a/projects/mtg/src/MTGRules.cpp b/projects/mtg/src/MTGRules.cpp index c804a2ed5..0c6e9ec10 100644 --- a/projects/mtg/src/MTGRules.cpp +++ b/projects/mtg/src/MTGRules.cpp @@ -146,7 +146,7 @@ int MTGEventBonus::receiveEvent(WEvent * event) } //////bonus for having a LOT of specific type. //not else'd becuase it is possible for a card to contain - //more then one of the types, and for more then one to trigger. + //more than one of the types, and for more than one to trigger. if(e->card->hasType(Subtypes::TYPE_ARTIFACT)) toys[currentPlayer->getId()]++; if(e->card->isCreature())