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
cd20a3d0
Commit
cd20a3d0
authored
Mar 10, 2011
by
Max-Wilhelm Bruker
Browse files
don't show p/t when playing facedown cards
parent
de44918d
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/server_player.cpp
View file @
cd20a3d0
...
@@ -416,7 +416,7 @@ ResponseCode Server_Player::moveCard(CommandContainer *cont, Server_CardZone *st
...
@@ -416,7 +416,7 @@ ResponseCode Server_Player::moveCard(CommandContainer *cont, Server_CardZone *st
if
(
thisCardProperties
->
getTapped
())
if
(
thisCardProperties
->
getTapped
())
setCardAttrHelper
(
cont
,
targetzone
->
getName
(),
card
->
getId
(),
"tapped"
,
"1"
);
setCardAttrHelper
(
cont
,
targetzone
->
getName
(),
card
->
getId
(),
"tapped"
,
"1"
);
if
(
!
thisCardProperties
->
getPT
().
isEmpty
())
if
(
!
thisCardProperties
->
getPT
().
isEmpty
()
&&
!
faceDown
)
setCardAttrHelper
(
cont
,
targetzone
->
getName
(),
card
->
getId
(),
"pt"
,
thisCardProperties
->
getPT
());
setCardAttrHelper
(
cont
,
targetzone
->
getName
(),
card
->
getId
(),
"pt"
,
thisCardProperties
->
getPT
());
}
}
}
}
...
...
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