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
Tarot
tarot
Commits
0981913b
Commit
0981913b
authored
Oct 11, 2019
by
Vivien Kraus
Browse files
Explain why we cannot reuse trick_cannot_follow in trick_check_card_full
parent
4b39e9ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libtarot/trick/tarot/trick_private_impl.h
View file @
0981913b
...
...
@@ -451,6 +451,8 @@ trick_check_card_full (const TarotTrickHandle * trick,
if
(
cnf
!=
NULL
&&
arg_lead_suit
!=
NULL
&&
cno
!=
NULL
&&
arg_max_trump
!=
NULL
&&
cnu
!=
NULL
)
{
/* We do not use trick_cannot_follow and such because the card
* named /played/ is still not yet added to the trick! */
TarotNumber
played_number
;
TarotSuit
played_suit
;
int
played_is_excuse
=
decompose
(
played
,
&
played_number
,
&
played_suit
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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