🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.games.hack
Article #898

timeout bug in 1.0.3

#898
From: Peter L DeWolf
Date: Mon, 29 Jul 1985 19:39
24 lines
1511 bytes
I was pleased to see that my suggestion that wounded legs heal with time
was implemented in the 1.0.3 distribution.  Unfortunately, one line of
the fix did not make it into the distribution.  Here is a context diff.

*** hack.timeout.c.orig	Wed Jul 24 11:18:26 1985
--- hack.timeout.c	Mon Jul 29 15:07:32 1985
***************
*** 7,13
  register struct prop *upp;
  	if(Stoned) stoned_dialogue();
  	for(upp = u.uprops; upp < u.uprops+SIZE(u.uprops); upp++)
! 	    if((upp->p_flgs & TIMEOUT) && !--upp->p_flgs) {
  		if(upp->p_tofn) (*upp->p_tofn)();
  		else switch(upp - u.uprops){
  		case STONED:

--- 7,13 -----
  register struct prop *upp;
  	if(Stoned) stoned_dialogue();
  	for(upp = u.uprops; upp < u.uprops+SIZE(u.uprops); upp++)
! 	    if((upp->p_flgs & TIMEOUT) && !(--upp->p_flgs & TIMEOUT)) {
  		if(upp->p_tofn) (*upp->p_tofn)();
  		else switch(upp - u.uprops){
  		case STONED:
Technical Details
Message-ID: <296@mit-athena.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!harvard!think!mit-eddie!mit-athena!pld

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site mit-athena.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!harvard!think!mit-eddie!mit-athena!pld
From: pld@mit-athena.UUCP (Peter L DeWolf)
Newsgroups: net.games.hack
Subject: timeout bug in 1.0.3
Message-ID: <296@mit-athena.UUCP>
Date: Mon, 29-Jul-85 15:39:28 EDT
Article-I.D.: mit-athe.296
Posted: Mon Jul 29 15:39:28 1985
Date-Received: Wed, 31-Jul-85 23:05:42 EDT
Reply-To: pld@mit-athena.UUCP (Peter L DeWolf)
Distribution: net
Organization: MIT Project Athena
Lines: 24