aboutsummaryrefslogtreecommitdiff
path: root/src/geminict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/geminict.c')
-rw-r--r--src/geminict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geminict.c b/src/geminict.c
index 6f2d04b..2e94e7d 100644
--- a/src/geminict.c
+++ b/src/geminict.c
@@ -39,7 +39,8 @@
#define STR_CHF_BLK "b"
#define STR_CHF_WHT "w"
-static tak_state_p state;
+struct tak_state_s state_s;
+static tak_state_p state = &state_s;
static void put_stone(const enum STONE_VARIANT stone, const enum COLOUR colour,
const uint8_t top, const uint8_t beyond_carry_limit) {
@@ -306,7 +307,6 @@ int main(int argc, char **argv) {
return EXIT_FAILURE;
};
- state = new_tak_state(5);
negamax_search_depth = 5;
new_game(5);
negamax_init(5);