ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/board.pl
(Generate patch)

Comparing kgsueme/kgsueme/board.pl (file contents):
Revision 1.22 by pcg, Tue Jul 29 03:46:23 2003 UTC vs.
Revision 1.23 by pcg, Tue Jul 29 03:46:53 2003 UTC

471 471
472 if ($show) { 472 if ($show) {
473 if ($new & $self->{cursor_mask}) { 473 if ($new & $self->{cursor_mask}) {
474 delete $self->{cursorpos}; 474 delete $self->{cursorpos};
475 } else { 475 } else {
476 $new = $new & $self->{cursor_mask} | $self->{cursor_value}; 476 $new = $new & ~$self->{cursor_mask} | $self->{cursor_value};
477 } 477 }
478 } 478 }
479 479
480 local $self->{board}{board}[$x-1][$y-1] = $new; 480 local $self->{board}{board}[$x-1][$y-1] = $new;
481 $self->{window}->clear_area (@{ $self->{draw_stone}->($x, $y) }); 481 $self->{window}->clear_area (@{ $self->{draw_stone}->($x, $y) });

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines