From bacchus.pa.dec.com!shlump.nac.dec.com!decuac!haven!aplcen!uunet!zephyr.ens.tek.com!tekred!saab!billr Tue Jun 26 12:29:25 PDT 1990
Article 968 of comp.sources.games:
Path: bacchus.pa.dec.com!shlump.nac.dec.com!decuac!haven!aplcen!uunet!zephyr.ens.tek.com!tekred!saab!billr
From: billr@saab.CNA.TEK.COM (Bill Randle)
Newsgroups: comp.sources.games
Subject: v10i044:  wanderer3 - mini rogue-like adventure game (Version 3.2), Patch1
Message-ID: <5850@tekred.CNA.TEK.COM>
Date: 26 Jun 90 14:28:35 GMT
Sender: news@tekred.CNA.TEK.COM
Lines: 83
Approved: billr@saab.CNA.TEK.COM

Submitted-by: Jim Brown <jim@umigw.miami.edu>
Posting-number: Volume 10, Issue 44
Archive-name: wanderer3/Patch1
Patch-To: wanderer3: Volume 9, Issue 51-54

	[This was previously posted to the bugs newsgroup. I am
	 putting it here also, for archival purposes. There were
	 several proposed patches posted; this one seemed the best.
	 I was originally waiting for Steve to post an official
	 patch, but he has lost his net access.   -br]

[[Here is a change to wanderer v3.2 to prevent some cases where
fall.c looks at data outside of the game array to decide about
what is happening to you.

It allows screens 11, 21, and 25 to be played without having to
edit the '@' out of the title line at the bottom of these screens.
Notice that in each case the '@' is below an open space.
When the boulder falls on that open space it sees the '@' 
below it and kills you, even though you are not really there.]]

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of shell archive."
# Contents:  patches01
# Wrapped by billr@saab on Tue Jun 26 07:08:26 1990
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'patches01' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'patches01'\"
else
echo shar: Extracting \"'patches01'\" \(1013 characters\)
sed "s/^X//" >'patches01' <<'END_OF_FILE'
X*** fall.c.orig	Wed May 16 16:31:17 1990
X--- fall.c	Sat Jun 16 12:32:55 1990
X***************
X*** 141,154 ****
X      }
X      refresh();
X      retval+=fall(mx,my,nx ,y+1,sx,sy,howdead);
X      moving = 0;
X      retval+=check(mx,my,x,y-1,0,1,sx,sy,howdead);
X!     if(screen[y+1][nx] == '@')
X          {
X      	strcpy(howdead,"a falling boulder");
X      	return(1);
X      	}
X!     if(screen[y+1][nx] == 'M')
X          {
X      	*mx = *my = -2;
X  	screen[y+1][nx] = ' ';
X--- 148,161 ----
X      }
X      refresh();
X      retval+=fall(mx,my,nx ,y+1,sx,sy,howdead);
X      moving = 0;
X      retval+=check(mx,my,x,y-1,0,1,sx,sy,howdead);
X!     if(y+1 < NOOFROWS && screen[y+1][nx] == '@')
X          {
X      	strcpy(howdead,"a falling boulder");
X      	return(1);
X      	}
X!     if(y+1 < NOOFROWS && screen[y+1][nx] == 'M')
X          {
X      	*mx = *my = -2;
X  	screen[y+1][nx] = ' ';
X*** /dev/null	Tue Jun 26 07:00:04 1990
X--- patchlevel.h	Tue Jun 26 07:04:21 1990
X***************
X*** 0 ****
X--- 1 ----
X+ #define PATCHLEVEL 1
END_OF_FILE
if test 1013 -ne `wc -c <'patches01'`; then
    echo shar: \"'patches01'\" unpacked with wrong size!
fi
# end of 'patches01'
fi
echo shar: End of shell archive.
exit 0


