From 9b5a3b15aa6e693a60e2207639e2b171c7442c13 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Fri, 24 Sep 2010 17:40:41 +0000 Subject: [PATCH] tiny boo boo, forgot getManaCost() for the colored removel --- projects/mtg/src/MTGRules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/MTGRules.cpp b/projects/mtg/src/MTGRules.cpp index 0398c9cd6..ec91bcb21 100644 --- a/projects/mtg/src/MTGRules.cpp +++ b/projects/mtg/src/MTGRules.cpp @@ -1514,7 +1514,7 @@ HUDDisplay::~HUDDisplay(){ int check = e->card->getManaCost()->getConvertedCost(); if (c->hasSubtype(type)){ if( check > 0){ - if(color > 0 && !c->hasColor(color)){//do nothing if its colored redux and the cards dont have the color + if(color > 0 && !c->getManaCost()->hasColor(color)){//do nothing if its colored redux and the cards dont have the color }else{//do normal redux c->getManaCost()->remove(color,1); }//one less colorless to cast