Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site gitpyr.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gatech!gitpyr!wutka From: wutka@gitpyr.UUCP (Mark Wutka) Newsgroups: net.sources.games Subject: bug in robots Message-ID: <704@gitpyr.UUCP> Date: Thu, 29-Aug-85 18:57:57 EDT Article-I.D.: gitpyr.704 Posted: Thu Aug 29 18:57:57 1985 Date-Received: Sat, 31-Aug-85 05:45:04 EDT Organization: Georgia Institute of Technology, Atlanta Lines: 29 In case anyone has noticed, there m3a little bug in robots when you use the control key or the shift key to do a move. If you tell it to go in the directions of a wall, it will. It will then plunge through the wall and give you an error such as Bus error. To fix it, you need only to insert 1 line in the code. It is in the routine do_move in the first switch statement: VERT: HORIZ: SCRAP: bad_move = TRUE; (on my copy it is around line 409) just insert the line return; after the bad_move = TRUE; -- Mark Wutka Office of Computing Services Georgia Institute of Technology Atlanta, Ga. ...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!wutka ...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally}!gatech!gitpyr!wutka Official member of NERDS (NERDS Existing in a Recursively Defined System)