summaryrefslogtreecommitdiff
path: root/noncore/games/go/goplayutils.c
Unidiff
Diffstat (limited to 'noncore/games/go/goplayutils.c') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/go/goplayutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/go/goplayutils.c b/noncore/games/go/goplayutils.c
index 9e2ce4c..91c6db2 100644
--- a/noncore/games/go/goplayutils.c
+++ b/noncore/games/go/goplayutils.c
@@ -895,49 +895,49 @@ short gx, gy, *savex, *savey;
895 goto one; 895 goto one;
896 } 896 }
897 undoTo(mark2); 897 undoTo(mark2);
898 } 898 }
899 for (i = 1; i <= plist3.indx - 1; i++) 899 for (i = 1; i <= plist3.indx - 1; i++)
900 for (j = i + 1; j <= plist3.indx; j++) 900 for (j = i + 1; j <= plist3.indx; j++)
901 if (libList[i] < libList[j]) 901 if (libList[i] < libList[j])
902 { 902 {
903 tl = libList[i]; 903 tl = libList[i];
904 libList[i] = libList[j]; 904 libList[i] = libList[j];
905 libList[j] = tl; 905 libList[j] = tl;
906 tp = plist3.p[i]; 906 tp = plist3.p[i];
907 plist3.p[i] = plist3.p[j]; 907 plist3.p[i] = plist3.p[j];
908 plist3.p[j] = tp; 908 plist3.p[j] = tp;
909 } 909 }
910 } 910 }
911 for (i = 1; i <= plist3.indx; i++) 911 for (i = 1; i <= plist3.indx; i++)
912 { 912 {
913 *savex = plist3.p[i].px; 913 *savex = plist3.p[i].px;
914 *savey = plist3.p[i].py; 914 *savey = plist3.p[i].py;
915 if (legal[*savex][*savey]) 915 if (legal[*savex][*savey])
916 { 916 {
917 smark = playMark; 917 smark = playMark;
918 tryPlay(*savex, *savey, me); 918 tryPlay(*savex, *savey, me);
919 pause(); 919//pause();
920 if (gList[gMap[groupIDs[*savex][*savey]]].libC > 1) 920 if (gList[gMap[groupIDs[*savex][*savey]]].libC > 1)
921 if (gList[gMap[groupIDs[gx][gy]]].libC > treeLibLim) 921 if (gList[gMap[groupIDs[gx][gy]]].libC > treeLibLim)
922 { 922 {
923 restoreState(); 923 restoreState();
924/* sClearChar(sChar, rXor); */ 924/* sClearChar(sChar, rXor); */
925 return TRUE; 925 return TRUE;
926 } 926 }
927 else if (gList[gMap[groupIDs[gx][gy]]].libC > 1) 927 else if (gList[gMap[groupIDs[gx][gy]]].libC > 1)
928 if (! killable(gx, gy, &gx1, &gx2)) 928 if (! killable(gx, gy, &gx1, &gx2))
929 { 929 {
930 restoreState(); 930 restoreState();
931/* sClearChar(sChar, rXor); */ 931/* sClearChar(sChar, rXor); */
932 return TRUE; 932 return TRUE;
933 } 933 }
934 undoTo(smark); 934 undoTo(smark);
935 } 935 }
936 } 936 }
937 result = FALSE; 937 result = FALSE;
938one: 938one:
939 restoreState(); 939 restoreState();
940/* sClearChar(sChar, rXor); */ 940/* sClearChar(sChar, rXor); */
941 return result; 941 return result;
942} /* saveable */ 942} /* saveable */
943 943