ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.25 by root, Tue Jun 6 03:13:00 2006 UTC vs.
Revision 1.26 by root, Wed Jun 7 05:54:09 2006 UTC

618 } 618 }
619} 619}
620 620
621sub player_update { 621sub player_update {
622 my ($self, $player) = @_; 622 my ($self, $player) = @_;
623
623 $::STATWIDS->{weight}->set_text (sprintf "Weight: %.1fkg", $player->{weight} / 1000); 624 $::STATWIDS->{weight}->set_text (sprintf "Weight: %.1fkg", $player->{weight} / 1000);
624 625
625 # do it here because it is ignored earlier, and there is no "login" event 626 # do it here because it is ignored earlier, and there is no "login" event
626 $self->send_command ("output-sync $::CFG->{output_sync}"); 627 $self->send_command ("output-sync $::CFG->{output_sync}");
627 $self->send_command ("output-count $::CFG->{output_count}"); 628 $self->send_command ("output-count $::CFG->{output_count}");
629 $self->send_command ("pickup $::CFG->{pickup}")
628} 630}
629 631
6301; 6321;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines