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

Comparing kgsueme/kgsueme/game.pl (file contents):
Revision 1.109 by root, Mon May 31 03:28:15 2004 UTC vs.
Revision 1.110 by root, Mon May 31 17:06:19 2004 UTC

971 sound::play 2, "info"; 971 sound::play 2, "info";
972 972
973 $self->{challenge}{$id} = $info; 973 $self->{challenge}{$id} = $info;
974 $self->{challenge}{$id}{inlay} = $self->{chat}->new_switchable_inlay ( 974 $self->{challenge}{$id}{inlay} = $self->{chat}->new_switchable_inlay (
975 exists $self->{challenge}{""} 975 exists $self->{challenge}{""}
976 ? "Challenge from $opponent->{name}" 976 ? "Challenge from " . $opponent->as_string
977 : "Challenge to $opponent->{name}", 977 : "Challenge to " . $opponent->as_string,
978 sub { 978 sub {
979 $self->{challenge}{$id}{inlay} = $_[0]; 979 $self->{challenge}{$id}{inlay} = $_[0];
980 $self->draw_challenge ($id); 980 $self->draw_challenge ($id);
981 }, 981 },
982 !exists $self->{challenge}{""} # only open when not offerer 982 !exists $self->{challenge}{""} # only open when not offerer

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines