[net.games] another bug in corewar

matt@oddjob.UChicago.UUCP (Matt Crawford) (07/02/84)

execute() was always returning 1 for non-tied games, making the first
program appear to be the winner if the second program really won.

Fix:
294c294
< 		if ( -1 == (p1 = do_instruction(p1))) return 1;	
---
> 		if ( -1 == (p1 = do_instruction(p1))) return 2; 

___________________________________________________________
Matt		University	ARPA: crawford@anl-mcs.arpa
Crawford	of Chicago	UUCP: ihnp4!oddjob!matt