Added new option to show/hide card borders.

This commit is contained in:
valfieri
2019-10-25 00:23:46 +02:00
parent ca7c8f5cf9
commit 601a4432dc
5 changed files with 8 additions and 5 deletions

View File

@@ -1293,7 +1293,7 @@ void CardGui::RenderBig(MTGCard* card, const Pos& pos, bool thumb, bool noborder
}
}*///disabled this for universal border across game, deck editor, etc...
//universal border
if(!noborder)
if(options[Options::SHOWBORDER].number)
{
if((cardsetname == "2ED"||cardsetname == "RV"||cardsetname == "4ED"||cardsetname == "5ED"||cardsetname == "6ED"||cardsetname == "7ED"||cardsetname == "8ED"||cardsetname == "9ED"||cardsetname == "CHR"||cardsetname == "DM")
&& !options[Options::BLKBORDER].number)