Path: utzoo!utgpu!watmath!att!occrsh!uokmax!kwthomas From: kwthomas@uokmax.UUCP (Kevin Thomas) Newsgroups: comp.sources.games.bugs Subject: Re: Omega3 bugs Message-ID: <3504@uokmax.UUCP> Date: 17 Jul 89 15:52:55 GMT References: <3494@uokmax.UUCP# <373@dftsrv.gsfc.nasa.gov> Reply-To: kwthomas@uokmax.UUCP (Kevin Thomas) Organization: University of Oklahoma, ECN Lines: 32 In article <373@dftsrv.gsfc.nasa.gov# setzer@nssdcs.UUCP (William Setzer (IDM)) writes: #In article <3494@uokmax.UUCP> kwthomas@uokmax.UUCP (Kevin Thomas) writes: #>There are a couple of bugs in the recently released omega3, version 0.75. #>I found these playing the beta release (ftp'd from paul.rutgers.edu). #[...] #>Problem 3: #>Restoring a game fails. The cause is a couple of lines of missing code. # #The fix is in file osave.c at line ~610 (counted by hand, so don't take #as gospel). There is a sequence of lines in restore_player that looks like: # #------ #- #ifndef MSDOS #- fread((char *)&(Objects[i].known),sizeof(int),1,fd); #- #else # fread((char *)&(Objects[i].known),sizeof(Objects[i].known),1,fd); #- #endif #------ #(I added the minuses at the beginning of lines 1, 2, 3 and 5.) Just #remove the lines starting with the minus and everything should work ok. #(The problem is that Objects[i].known is type 'uchar', not int. I don't #know how it worked for Laurence.) #-- #William Setzer #setzer@epsl.umd.edu ; My 'real' mail address. That is what I did originally. However, if you look at the release code, there is only one "fread" and "fwrite" in the code with the MSDOS dependency removed. That is why I didn't include the "bug fix" as the beta bug no longer exists. == kwthomas ==