fix flip and image
This commit is contained in:
@@ -403,7 +403,7 @@ void CardGui::Render()
|
||||
mFont->SetScale(actZ);
|
||||
mFont->SetScale(actZ);
|
||||
float halfbufferW = (mFont->GetStringWidth(buffer))/2;
|
||||
mFont->DrawString(buffer, actX - halfbufferW * actZ, actY + 7 * actZ);
|
||||
mFont->DrawString(buffer, actX - halfbufferW, actY + 7 * actZ);
|
||||
mFont->SetScale(1);
|
||||
}
|
||||
|
||||
|
||||
@@ -129,6 +129,8 @@ void MTGCardInstance::copy(MTGCardInstance * card)
|
||||
alias = data->alias;
|
||||
copiedID = card->copiedID;
|
||||
doubleFaced = data->doubleFaced;
|
||||
origpower = card->origpower;//for flip
|
||||
origtoughness = card->origtoughness;//for flip
|
||||
|
||||
//Now this is dirty...
|
||||
int backupid = mtgid;
|
||||
@@ -147,6 +149,8 @@ void MTGCardInstance::copy(MTGCardInstance * card)
|
||||
mtgid = card->getMTGId(); ///////////////////////////////////////////////////
|
||||
setId = card->setId; // Copier/Cloner cards produces the same token...//
|
||||
rarity = card->getRarity(); ///////////////////////////////////////////////////
|
||||
|
||||
setMTGId(card->copiedID); //**************sets copier image****************//
|
||||
}
|
||||
castMethod = castMethodBackUP;
|
||||
backupTargets = this->backupTargets;
|
||||
|
||||
Reference in New Issue
Block a user