Skip to content
GitLab
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
ebd3534b
Commit
ebd3534b
authored
Oct 13, 2019
by
Vivien Kraus
Browse files
Do not search for the partner when the call is not known yet
parent
13e9904c
Pipeline
#175240
failed with stages
in 153 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/libtarot/game/tarot/game_private_impl.h
View file @
ebd3534b
...
...
@@ -2651,7 +2651,8 @@ game_assign_missing_card (TarotGame * game, TarotCard card, TarotPlayer owner)
{
return
1
;
}
if
(
h
.
opt
.
with_call
&&
!
call_partner_known
(
h
.
call
))
if
(
h
.
opt
.
with_call
&&
call_card_known
(
h
.
call
)
&&
!
call_partner_known
(
h
.
call
))
{
if
(
call_trick_card
(
h
.
call
,
owner
,
card
)
!=
0
)
{
...
...
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