hack bug fix

Andries Brouwer aeb at mcvax.UUCP
Wed May 1 14:34:14 AEST 1985


Gordon Strong (mit-eddie!gs) pointed out that if you play in
debugging mode (hack -D) and die then you may leave a ghost and
an unusual amount of goodies - very useful for the next one on
that level.
So, before creating a ghost a test might be appropriate. The diff follows.
hack.end.c:
94,95c94,97
< 		if(dlevel > 0 && dlevel < 30) /* soon superfluous */
< 			savebones();
---
> #ifdef WIZARD
> 	    if(!wizard)
> #endif WIZARD
> 		savebones();



More information about the Comp.sources.bugs mailing list