diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1997-07-01 07:12:54 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1997-07-01 07:12:54 +0000 |
commit | 973deb3116dbe7feb5a16e5784322ddaa13839f6 (patch) | |
tree | 2d0686519390a422e15c543d7ce6215a2f4fe407 /games/galaxis | |
parent | d15b2961298e1fc8f8d1660301a9c37e9cbeb176 (diff) | |
download | ports-973deb3116dbe7feb5a16e5784322ddaa13839f6.tar.gz ports-973deb3116dbe7feb5a16e5784322ddaa13839f6.zip |
Notes
Diffstat (limited to 'games/galaxis')
-rw-r--r-- | games/galaxis/files/patch-ab | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/games/galaxis/files/patch-ab b/games/galaxis/files/patch-ab index 47ede080296c..0454206d0e44 100644 --- a/games/galaxis/files/patch-ab +++ b/games/galaxis/files/patch-ab @@ -1,5 +1,5 @@ *** galaxis.c Wed Sep 20 17:16:33 1995 ---- /home/andy/tmp/wrk/galaxis.c Mon Jun 30 08:45:01 1997 +--- /home/andy/tmp/wrk/galaxis.c Tue Jul 1 06:54:10 1997 *************** *** 8,14 **** @@ -34,3 +34,41 @@ if(signal(SIGQUIT,SIG_IGN) != SIG_IGN) (void)signal(SIGQUIT,outro); +*************** +*** 540,555 **** + { + if (board[cury][curx] & S_LIFEBOAT) + { +! board[cury][curx] |= S_BOATSEEN; +! prompt("You found a lifeboat!"); +! beep(); +! turn++; +! boatsfound++; +! } +! else if (board[cury][curx] & S_BOATSEEN) +! { +! prompt("This lifeboat is already visible."); +! beep(); + } + else + { +--- 540,558 ---- + { + if (board[cury][curx] & S_LIFEBOAT) + { +! if (board[cury][curx] & S_BOATSEEN) +! { +! prompt("This lifeboat is already visible."); +! beep(); +! } +! else +! { +! board[cury][curx] |= S_BOATSEEN; +! prompt("You found a lifeboat!"); +! beep(); +! turn++; +! boatsfound++; +! } + } + else + { |