From 7a14418f93f798f8556f9be343e7db26b5ce89d4 Mon Sep 17 00:00:00 2001 From: tg Date: Tue, 1 Jul 1997 07:12:54 +0000 Subject: Bugfix for the game. PR: 3999 Submitted by: Andrey Zakhvatov --- games/galaxis/files/patch-ab | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'games/galaxis') 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 + { -- cgit