summaryrefslogtreecommitdiffstats
path: root/games/rogue/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/rogue/move.c')
-rw-r--r--games/rogue/move.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/rogue/move.c b/games/rogue/move.c
index 59c92e4..b892a0a 100644
--- a/games/rogue/move.c
+++ b/games/rogue/move.c
@@ -226,7 +226,7 @@ short dirch;
}
is_passable(row, col)
-row, col;
+int row, col;
{
if ((row < MIN_ROW) || (row > (DROWS - 2)) || (col < 0) ||
(col > (DCOLS-1))) {
@@ -239,7 +239,7 @@ row, col;
}
next_to_something(drow, dcol)
-drow, dcol;
+int drow, dcol;
{
short i, j, i_end, j_end, row, col;
short pass_count = 0;
OpenPOWER on IntegriCloud