Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!husc6!yale!Martin-Charles From: Martin-Charles@cs.yale.edu (Charles Martin) Newsgroups: comp.sources.games.bugs Subject: omega bug and fix Keywords: omega Message-ID: <34636@yale-celray.yale.UUCP> Date: 31 Jul 88 21:27:31 GMT References: Sender: root@yale.UUCP Reply-To: Martin-Charles@cs.yale.edu (Charles Martin) Organization: Computer Science, Yale University, New Haven, CT 06520-2158 Lines: 25 In-reply-to: brothers@dead.rutgers.edu (Laurence R. Brothers) Try this: next time you get a scroll, put it in one of the "specific" slots (boots, cloak, finger, etc.)...it will be used but not destroyed! Handy, eh? Here's the (trivial) patch: *** oinv.c.orig Sun Jul 31 15:17:43 1988 --- oinv.c Thu Jul 28 20:31:41 1988 *************** *** 1003,1009 **** take = ((!merge) && (!slotnull) && airnull); ! put = ((!merge) && slotnull && (!airnull)); trade = ((!merge) && (!slotnull) && (!airnull) && slottable(oair,slot)); --- 1007,1013 ---- take = ((!merge) && (!slotnull) && airnull); ! put = ((!merge) && slotnull && (!airnull) && slottable(oair,slot)); trade = ((!merge) && (!slotnull) && (!airnull) && slottable(oair,slot)); Charles Martin // INTERNET: martin@cs.yale.edu // BITNET: martin@yalecs UUCP: {cmcl2,harvard,decvax}!yale!martin