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