Path: utzoo!utgpu!watmath!orchid!ppanicolle From: ppanicolle@orchid.waterloo.edu (Philippe Nicolle) Newsgroups: comp.sources.games.bugs Subject: Re: tetrix INIT_PAUSE Message-ID: <536@orchid.waterloo.edu> Date: 12 Mar 89 22:18:28 GMT References: <204@sabin.UUCP> <1816@viscous.sco.COM> <14235@elroy.Jpl.Nasa.Gov> <1085@ur-cc.UUCP> Reply-To: ppanicolle@orchid.waterloo.edu (Philippe Nicolle) Distribution: comp Organization: U. of Waterloo, Ontario Lines: 24 In article mike@yunexus.yorku.ca (Mike Marques) writes: >In article <14235@elroy.Jpl.Nasa.Gov> dave%jplopto@jpl-mil.jpl.nasa.gov writes: > >If anybody has fixed the bug in the high scores save routine, please >let me know. Tetris keeps on appending userids together on the score >file for some strange reason. In tetris.h, only 8 chars are allocated per userid. For userid's of 8 (or more as in my case) the first 8 chars are appended. Simply change the line: char high_user[15][8]; to char high_user[15][13]; The second digit should 1 more than the maximum userid length. Phil. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Philippe P.A. Nicolle ppanicolle@waterloo.{edu, cdn, csnet} ppanicolle@orchid.uwaterloo.ca ppanicolle@water.{bitnet, uucp} {uunet, allegra, decvax, ihnp4, utzoo, ...}!watmath!orchid!ppanicolle