about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-26 20:03:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-26 20:03:59 -0700
commitbd5ae9d80231b386cdb04653ad10739c58fb9418 (patch)
tree1eb587ff9b13bce8dc7b89e2dc1c0d5098b3b2b8
parent8c2d96a90d69abaf47b12547c97bde2740e0a90a (diff)
downloadmu-bd5ae9d80231b386cdb04653ad10739c58fb9418.tar.gz
1480
-rw-r--r--chessboard.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/chessboard.mu b/chessboard.mu
index a9f89da3..facf38bb 100644
--- a/chessboard.mu
+++ b/chessboard.mu
@@ -283,7 +283,7 @@ recipe read-move [
   reply-if error?:boolean, 0:literal/dummy, quit?:boolean, error?:boolean
 #?   return-to-console #? 1
   # construct the move object
-  result:address:move <- new move:literal
+  result:address:move <- new move:type
   x:address:number <- get-address result:address:move/deref, from-file:offset
   x:address:number/deref <- copy from-file:number
   x:address:number <- get-address result:address:move/deref, from-rank:offset