Merge pull request #901 from bigzwine/fixcompileprobs

Fixed couple compile problems found in Eclipse
This commit is contained in:
LevelX2 2015-04-10 01:06:54 +02:00
commit c0db6dfdc8
4 changed files with 4 additions and 4 deletions

View file

@ -105,7 +105,7 @@ class CumulativeUpkeepEffect extends OneShotEffect {
if(cumulativeCost instanceof ManaCost){
ManaCostsImpl totalCost = new ManaCostsImpl();
for(int i = 0 ; i < ageCounter; i++){
totalCost.add(cumulativeCost.copy());
totalCost.add((ManaCost) cumulativeCost.copy());
}
if (player.chooseUse(Outcome.Benefit, "Pay " + totalCost.getText() + "?", game)) {
totalCost.clearPaid();