summaryrefslogtreecommitdiff
path: root/games/gnomoku/files/patch-ai.cc
blob: 3d8bdd7e13a0c7ce23bd583254edb8accee83b2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ai.cc.orig	Sat Oct 16 11:57:28 2004
+++ ai.cc	Sat Oct 16 11:57:45 2004
@@ -56,8 +56,8 @@
     height = arows;
     length = ((height+2) * (width+1) + 1);
 	
-    board = new (int)[length];
-    score = new (int)[length];
+    board = new int[length];
+    score = new int[length];
     for (int i=0; i<length; i++) {
 	board[i] = -1;
 	score[i] = -1;