diff options
Diffstat (limited to 'games/sail')
-rw-r--r-- | games/sail/dr_2.c | 6 | ||||
-rw-r--r-- | games/sail/sync.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/games/sail/dr_2.c b/games/sail/dr_2.c index 908287d..e495275 100644 --- a/games/sail/dr_2.c +++ b/games/sail/dr_2.c @@ -157,7 +157,7 @@ char onlytemp; row = fp->row; col = fp->col; drift = fp->drift; - move(movement, ship, &fp->dir, &fp->row, &fp->col, &drift); + sail_move(movement, ship, &fp->dir, &fp->row, &fp->col, &drift); if (!*movement) (void) strcpy(movement, "d"); @@ -176,7 +176,7 @@ char onlytemp; return total; } -move(p, ship, dir, row, col, drift) +sail_move(p, ship, dir, row, col, drift) register char *p; register struct ship *ship; register char *dir; @@ -222,7 +222,7 @@ register char *drift; try(command, temp, ma, ta, af, vma, dir, f, t, high, rakeme) register struct ship *f, *t; -int ma, ta, af, *high, rakeme; +int ma, ta, af, vma, dir, *high, rakeme; char command[], temp[]; { register int new, n; diff --git a/games/sail/sync.c b/games/sail/sync.c index c02bd52..b896eed 100644 --- a/games/sail/sync.c +++ b/games/sail/sync.c @@ -70,6 +70,7 @@ makesignal(from, fmt, ship, a, b, c) #include <sys/types.h> #include <sys/stat.h> sync_exists(game) +int game; { char buf[sizeof sync_file]; struct stat s; |