Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 8/7/84; site ucbvax.ARPA Path: utzoo!linus!decvax!ucbvax!leblanc From: leblanc@ucbvax.ARPA (Emile LeBlanc) Newsgroups: net.sources.bugs Subject: Bug in ogre (makes "ogre 5" difficult) Message-ID: <3409@ucbvax.ARPA> Date: Tue, 20-Nov-84 19:58:55 EST Article-I.D.: ucbvax.3409 Posted: Tue Nov 20 19:58:55 1984 Date-Received: Wed, 21-Nov-84 05:19:54 EST Distribution: net Organization: University of California at Berkeley Lines: 20 In the ogre.h file sent with "ogre" there is a definition of N_UNITS that appears to be a little small. Change #define N_UNITS 30 to #define N_UNITS 47 (it didn't seem worth the trouble to post this as a "diff"). If you define too many units (especially at "orge 5" where you have the chance to define 45 separate units) segmentation errors can occur. I haven't looked closely at the code...but since the original define was two greater than the number of units one could place with "ogre 3" I am guessing that there have been a reason for this (could be that the author thought that 30 units was enough even for the "ogre 5" case). Emile LeBlanc (ucbvax!leblanc) (leblanc@Berkeley)