Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucsfcgl.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!ucbvax!ucsfcgl!arnold From: arnold@ucsfcgl.UUCP (Ken Arnold%CGL) Newsgroups: net.games.hack Subject: Re: Inventory Fix in mkobj.c Message-ID: <560@ucsfcgl.UUCP> Date: Tue, 2-Jul-85 21:16:53 EDT Article-I.D.: ucsfcgl.560 Posted: Tue Jul 2 21:16:53 1985 Date-Received: Fri, 5-Jul-85 07:01:23 EDT References: <553@ucsfcgl.UUCP> <718@mcvax.UUCP> Reply-To: arnold@ucsfcgl.UUCP (Ken Arnold) Organization: UCSF Computer Graphics Lab Lines: 20 In article <718@mcvax.UUCP> aeb@mcvax.UUCP (Andries Brouwer) writes: >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. >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. Well, slap ME with a wet herring! I basically installed my fix, and then things seemed to work better, so I posted it. Andries is quite right, it seems, that my fix is no fix at all. Sigh. Sorry about that. If anyone DOES figure out why this proble occurs, I, for one, would appreciate a real fix. Ken Arnold