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
171db650
Commit
171db650
authored
Dec 15, 2019
by
Vivien Kraus
Browse files
Disable slam declarations
parent
e1a77e4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libtarot/ai/tarot/ai_private_impl.h
View file @
171db650
...
...
@@ -737,7 +737,9 @@ ai_best_consider_possible (TarotAi * ai, const TarotGame * state)
}
else
if
(
game_get_hint_decl
(
state
,
&
next
,
&
hint_decl
)
==
TAROT_GAME_OK
)
{
ai_best_consider_decls
(
ai
,
state
,
hint_decl
);
/* WARNING: we disable declarations! */
int
actually_allowed
=
0
;
ai_best_consider_decls
(
ai
,
state
,
actually_allowed
&&
hint_decl
);
}
else
if
(
game_get_hint_call
(
state
,
&
next
,
&
hint_call
)
==
TAROT_GAME_OK
)
{
...
...
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