Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: notesnews 0.1 (unido 12/05/84); site unido.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!unido!ab
From: ab@unido.UUCP
Newsgroups: net.games.hack
Subject: Re: Dumb message
Message-ID: <38300016@unido.UUCP>
Date: Thu, 19-Sep-85 15:27:00 EDT
Article-I.D.: unido.38300016
Posted: Thu Sep 19 15:27:00 1985
Date-Received: Sun, 22-Sep-85 14:04:03 EDT
References: <337@ektools.UUCP>
Sender: notes@unido.UUCP
Lines: 50
Nf-ID: #R:ektools:-33700:unido:38300016:000:1283
Nf-From: unido!ab    Sep 19 17:27:00 1985

> /***** unido:net.games.hack / ektools!john /  8:12 pm  Sep 16, 1985*/
> A few days ago 'Wiz' the wizard was standing next to a teleport trap on
> level 16.  The following message appeared:
>
>     "Suddenly the invisible stalker disappears!"
>
> That's really DUMB!
>
> John Hall
> {seismo, allegra)!rochester!kodak!ektools!john
> /* ---------- */

Here is a fix for that problem:

*** hack.trap.c.orig	Sun Aug  4 12:08:05 1985
--- hack.trap.c	Thu Sep 19 11:33:30 1985
***************
*** 145,151
  		if(!rn2(40)) mtmp->mtrapped = 0;
  	} else {
  	    register int tt = trap->ttyp;
! 	    int in_sight = cansee(mtmp->mx,mtmp->my);
  	    extern char mlarge[];
  
  	    if(mtmp->mtrapseen & (1 << tt)) {

--- 145,152 -----
  		if(!rn2(40)) mtmp->mtrapped = 0;
  	} else {
  	    register int tt = trap->ttyp;
! 	    int in_sight = cansee(mtmp->mx,mtmp->my)
! 			   && (!mtmp->minvis || See_invisible); /* ab@unido */
  	    extern char mlarge[];
  
  	    if(mtmp->mtrapseen & (1 << tt)) {


--
Andreas Bormann
University of Dortmund  [UniDo]
West Germany

Uucp:   ab@unido.uucp
Path:   {USA}!ihnp4!seismo!mcvax!unido!ab
	{Europe}!{cernvax,diku,enea,ircam,mcvax,prlb2,tuvie,ukc}!unido!ab
Bitnet: ab@ddoinf6.bitnet
		 \
Missiles:    -=>-->-*>      N 51 29' 05"   E 07 24' 42"
		 /