summaryrefslogtreecommitdiff
path: root/src/ctaklm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctaklm.c')
-rw-r--r--src/ctaklm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ctaklm.c b/src/ctaklm.c
index bbf815c..3585bec 100644
--- a/src/ctaklm.c
+++ b/src/ctaklm.c
@@ -1,10 +1,10 @@
#include <stdlib.h>
#include <stdio.h>
-#include <tak.h>
+#include <state.h>
int main(int argc, char **argv) {
- init_game();
+ reset_game();
enum ACTION_RESULT res = try_place(0, 0x0001, STONE_FLAT);
res = try_place(1, 0x0001, STONE_FLAT);
@@ -13,6 +13,4 @@ int main(int argc, char **argv) {
printf("Result: %d\n",res);
printf("%o %o \n",colours[0],celldat[0]);
-
- free_game();
}