diff options
author | tg <tg@FreeBSD.org> | 1997-07-01 15:12:54 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1997-07-01 15:12:54 +0800 |
commit | 7a14418f93f798f8556f9be343e7db26b5ce89d4 (patch) | |
tree | 6eaf4813a13db45fb16061555cf67d0e515025a7 /games/galaxis | |
parent | 1c160ea2038636aaa5f05e78c22570da45039490 (diff) | |
download | freebsd-ports-gnome-7a14418f93f798f8556f9be343e7db26b5ce89d4.tar.gz freebsd-ports-gnome-7a14418f93f798f8556f9be343e7db26b5ce89d4.tar.zst freebsd-ports-gnome-7a14418f93f798f8556f9be343e7db26b5ce89d4.zip |
Bugfix for the game.
PR: 3999
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
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 + { |