summaryrefslogtreecommitdiff
path: root/games/galaxis/files
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-07-01 07:12:54 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-07-01 07:12:54 +0000
commit973deb3116dbe7feb5a16e5784322ddaa13839f6 (patch)
tree2d0686519390a422e15c543d7ce6215a2f4fe407 /games/galaxis/files
parentAdd kaffe. (diff)
Bugfix for the game.
PR: 3999 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=7157
Diffstat (limited to 'games/galaxis/files')
-rw-r--r--games/galaxis/files/patch-ab40
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
+ {