[net.sources.bugs] hack bug fix

aeb@mcvax.UUCP (Andries Brouwer) (04/29/85)

There is a bug in the shopkeeper code that may cause the
shopkeeper to get confused when you save and restore the
game while in a shop. The fix is to delete one line in hack.shk.c:
236d
<		billobjs = 0;

aeb@mcvax.UUCP (Andries Brouwer) (05/01/85)

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();