diff options
Diffstat (limited to 'robots/auto.c')
-rw-r--r-- | robots/auto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/robots/auto.c b/robots/auto.c index c0a15bf8..29bba259 100644 --- a/robots/auto.c +++ b/robots/auto.c @@ -1,4 +1,4 @@ -/* $NetBSD: auto.c,v 1.4 1999/09/08 21:17:56 jsm Exp $ */ +/* $NetBSD: auto.c,v 1.5 2002/01/31 17:35:52 christos Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -236,7 +236,7 @@ move_towards(dx, dy) (void)strcpy(ok_moves, find_moves()); best_move = ok_moves[0]; - if (best_move != 'F') { + if (best_move != 't') { mvx = xinc(best_move); mvy = yinc(best_move); move_judge = ABS(mvx - dx) + ABS(mvy - dy); |