mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Bugfix for the game.
PR: 3999 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
parent
d15b296129
commit
973deb3116
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7157
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user