Skip to content

Commit

Permalink
Bugfix for the horse
Browse files Browse the repository at this point in the history
After previous modification, the horse piece stopped working. This is a fix for that
  • Loading branch information
AntonBystedt committed Feb 20, 2023
1 parent 3733d99 commit f192d08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Chess_version_1.1.COB
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,10 @@
SET IS-VALID TO TRUE
END-IF


WHEN U-COUNTER = 6 OR 5
SET IS-VALID TO TRUE
WHEN OTHER
DISPLAY TYPE-MOVE
DISPLAY "INVALID MOVE"
SET NOT-VALID TO TRUE
PERFORM GA-ACCEPT-CORD
Expand Down Expand Up @@ -737,6 +739,7 @@
*******************************************************************

SET N-MO TO TRUE
SET NOT-VALID TO TRUE

EVALUATE TRUE

Expand Down
Binary file modified bin/Chess_version_1.1.exe
Binary file not shown.

0 comments on commit f192d08

Please sign in to comment.