summaryrefslogtreecommitdiff
path: root/chess.h
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2017-05-16 18:37:18 -0400
committerFranklin Wei <me@fwei.tk>2017-05-16 18:37:18 -0400
commit19c0e01741fdea40d025ce6e9ae446b981bc8569 (patch)
tree97c8fe5bed776529812f1f65000d9250c5d12da2 /chess.h
parent5cfe979646d99e51cb33ae256538412b1d51994e (diff)
downloadxenonchess-19c0e01741fdea40d025ce6e9ae446b981bc8569.zip
xenonchess-19c0e01741fdea40d025ce6e9ae446b981bc8569.tar.gz
xenonchess-19c0e01741fdea40d025ce6e9ae446b981bc8569.tar.bz2
xenonchess-19c0e01741fdea40d025ce6e9ae446b981bc8569.tar.xz
random words
Diffstat (limited to 'chess.h')
-rw-r--r--chess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess.h b/chess.h
index df24af4..d7ac519 100644
--- a/chess.h
+++ b/chess.h
@@ -35,7 +35,7 @@ struct move_t {
enum { NORMAL, CASTLE, PROMOTION, NOMOVE } type;
union {
struct { struct coordinates to, from; } normal;
- enum { QUEENSIDE, KINGSIDE } castle_style;
+ enum { QUEENSIDE = 0, KINGSIDE } castle_style;
struct promotion_t promotion;
} data;
};