Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
aed20324
Commit
aed20324
authored
Jun 23, 2015
by
Fabio Bas
Browse files
reverted #163
parent
f95fe57c
Changes
1
Hide whitespace changes
Inline
Side-by-side
oracle/src/oracleimporter.cpp
View file @
aed20324
...
...
@@ -187,11 +187,6 @@ int OracleImporter::importTextSpoiler(CardSet *set, const QVariant &data)
colors
.
clear
();
extractColors
(
map
.
value
(
"colors"
).
toStringList
(),
colors
);
// Distinguish Vanguard cards from regular cards of the same name.
if
(
map
.
value
(
"layout"
)
==
"vanguard"
)
{
cardName
+=
" Avatar"
;
}
CardInfo
*
card
=
addCard
(
set
->
getShortName
(),
cardName
,
false
,
cardId
,
cardCost
,
cmc
,
cardType
,
cardPT
,
cardLoyalty
,
cardText
,
colors
,
relatedCards
,
upsideDown
);
if
(
!
set
->
contains
(
card
))
{
...
...
@@ -206,7 +201,6 @@ int OracleImporter::importTextSpoiler(CardSet *set, const QVariant &data)
{
// get all cards for this specific muid
QList
<
QVariantMap
>
maps
=
splitCards
.
values
(
muid
);
// get all the card names in the correct order
QStringList
names
;
// now, reorder the cards using the ordered list of names
QMap
<
int
,
QVariantMap
>
orderedMaps
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment