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
cf09aecc
Commit
cf09aecc
authored
Jul 05, 2015
by
Zach H
Browse files
local user sees orange too
parent
8221d37b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carditem.cpp
View file @
cf09aecc
...
@@ -110,7 +110,7 @@ void CardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
...
@@ -110,7 +110,7 @@ void CardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QStringList
ptDbSplit
=
db
->
getCard
(
name
)
->
getPowTough
().
split
(
"/"
);
QStringList
ptDbSplit
=
db
->
getCard
(
name
)
->
getPowTough
().
split
(
"/"
);
QStringList
ptSplit
=
pt
.
split
(
"/"
);
QStringList
ptSplit
=
pt
.
split
(
"/"
);
if
(
ptDbSplit
.
at
(
0
)
!=
ptSplit
.
at
(
0
)
||
ptDbSplit
.
at
(
1
)
!=
ptSplit
.
at
(
1
))
if
(
getFaceDown
()
||
ptDbSplit
.
at
(
0
)
!=
ptSplit
.
at
(
0
)
||
ptDbSplit
.
at
(
1
)
!=
ptSplit
.
at
(
1
))
painter
->
setPen
(
QColor
(
255
,
150
,
0
));
painter
->
setPen
(
QColor
(
255
,
150
,
0
));
else
else
painter
->
setPen
(
Qt
::
white
);
painter
->
setPen
(
Qt
::
white
);
...
...
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