[comp.sources.games.bugs] Slight bug in bandit

ca121@citycs.UUCP (D BROWNSER) (03/23/89)

Problem:
	When I tried to compile the 'bandit' program I noticed a *slight* bug.
In the routine 'init_rand()' Pete Granger perfoms a 'z=time()' call - which has
the effect of not only returning the time to assign to the variable z, but also
(at least on our system) assigns it to the location passed to it. i.e. anywhere
it feels like.

Solution:
	Change line 200 to read

		z = time(0);

PS: How about a 'hold' option in the game?