Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!linus!philabs!cmcl2!seismo!mcvax!aeb
From: aeb@mcvax.UUCP (Andries Brouwer)
Newsgroups: net.games.hack
Subject: Re: Inventory Fix in mkobj.c
Message-ID: <718@mcvax.UUCP>
Date: Tue, 25-Jun-85 17:51:57 EDT
Article-I.D.: mcvax.718
Posted: Tue Jun 25 17:51:57 1985
Date-Received: Sat, 29-Jun-85 02:00:30 EDT
References: <553@ucsfcgl.UUCP>
Reply-To: aeb@mcvax.UUCP (Andries Brouwer)
Organization: CWI, Amsterdam
Lines: 14

In article <553@ucsfcgl.UUCP> arnold@ucsfcgl.UUCP () writes:
>
>The following is a minor fix to hack.  I finally got tired of having
>multiple groups of the same kind of food, which makes keeping track
>of things difficult.  The problem was that certain fields were not getting
>initialized, so the "spe" field, especially, was different for different
>pieces of food, even though the field isn't used for food.  The following
>is the fix, as a context diff (as all hack updates should come).

I see no harm in this fix, but no advantage either. Just before
the lines quoted in the context diff is the line (mkobj.c line 55 in V1.0.2)
	*otmp = zeroobj;
that initializes all fields to zero; so the behaviour with and without
the fix will be completely identical.