🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.games.hack
Article #911

1.0.3 engrave bug

#911
From: Robin Cutshaw
Date: Fri, 02 Aug 1985 01:32
25 lines
1106 bytes
I had no problems compiling 1.0.3 with the ed mods, but...

This was in the ed script for hack1.0.3 ( hack.engrave.c , doengrave() ) :

	if(otmp == &zeroobj)
		otmp = 0;
	if(otmp->otyp == WAN_FIRE && otmp->spe) {

Obviously wrong, change to...

	if(otmp == &zeroobj)
		otmp = (char *)0;
	if(otmp && otmp->otyp == WAN_FIRE && otmp->spe) {


Also, one can no longer throw objects while on Elbereth and not screw it up.

-robin

(P.S. IBM Xenix diffs will follow shortly)
-- 
----
Robin Cutshaw
uucp:   ...!{akgua,gatech}!medstar!robin
Technical Details
Message-ID: <188@medstar.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!medstar!robin

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site medstar.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!medstar!robin
From: robin@medstar.UUCP (Robin Cutshaw)
Newsgroups: net.games.hack
Subject: 1.0.3 engrave bug
Message-ID: <188@medstar.UUCP>
Date: Thu, 1-Aug-85 21:32:47 EDT
Article-I.D.: medstar.188
Posted: Thu Aug  1 21:32:47 1985
Date-Received: Sat, 3-Aug-85 03:50:52 EDT
Distribution: net
Organization: Medical Systems Technology and Research, Inc., Atlanta, Ga.
Lines: 25