diff options
Diffstat (limited to 'mbbsd/dark.c')
-rw-r--r-- | mbbsd/dark.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/dark.c b/mbbsd/dark.c index 5ca86ae5..1571f2b0 100644 --- a/mbbsd/dark.c +++ b/mbbsd/dark.c @@ -294,8 +294,7 @@ playing(struct DarkData *dd, sint fd, sint color, sint ch, sint * b, userinfo_t rname[dd->brd[dd->my][dd->mx].value], dd->cont); *b = -1; break; - case '\r': /* 吃 or 移動 ly跟lx必須大於0 */ - case '\n': + case KEY_ENTER: /* 吃 or 移動 ly跟lx必須大於0 */ if ( dd->mly >= 0 /* 要先選子 */ && |