summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/gnuchess.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox/gnuchess.c')
-rw-r--r--apps/plugins/chessbox/gnuchess.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/gnuchess.c b/apps/plugins/chessbox/gnuchess.c
index 4b21cd785c..ff9bb99b91 100644
--- a/apps/plugins/chessbox/gnuchess.c
+++ b/apps/plugins/chessbox/gnuchess.c
@@ -1117,6 +1117,10 @@ static short i,alpha,beta,score,tempb,tempc,tempsf,tempst,xside,rpt;
1117 for (index=0;index<5;index++){ 1117 for (index=0;index<5;index++){
1118 move_buffer[index] = mvstr1[index]; 1118 move_buffer[index] = mvstr1[index];
1119 } 1119 }
1120 if (SqAtakd(PieceList[(side==white)?black:white][0],side)){
1121 move_buffer[4] = '+';
1122 move_buffer[5] = '\0';
1123 }
1120 1124
1121 if (score == -9999 || score == 9998) mate = true; 1125 if (score == -9999 || score == 9998) mate = true;
1122 if (mate) hint = 0; 1126 if (mate) hint = 0;