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.11 by root, Tue May 30 07:26:02 2006 UTC vs.
Revision 1.12 by elmex, Tue May 30 14:59:26 2006 UTC

604 if ($tag == 0) { 604 if ($tag == 0) {
605 update_floorbox; 605 update_floorbox;
606 update_container (0); 606 update_container (0);
607 } elsif ($tag == $self->{player}{tag}) { 607 } elsif ($tag == $self->{player}{tag}) {
608 $::INV->set_items ($self->{container}{$tag}) 608 $::INV->set_items ($self->{container}{$tag})
609 } else {
610 update_container ($tag);
609 } 611 }
610 612
611# use PApp::Util; warn PApp::Util::dumpval $self->{container}{0}; 613# use PApp::Util; warn PApp::Util::dumpval $self->{container}{0};
612} 614}
613 615
621 update_floorbox; 623 update_floorbox;
622 update_container ($_->{tag}); 624 update_container ($_->{tag});
623 } elsif ($_->{container} == $self->{player}{tag}) { 625 } elsif ($_->{container} == $self->{player}{tag}) {
624 $::INV->set_items ($self->{container}{$self->{player}{tag}}) 626 $::INV->set_items ($self->{container}{$self->{player}{tag}})
625 } else { 627 } else {
626 update_container ($_->{tag}); 628 update_container ($_->{container});
627 } 629 }
628 } 630 }
629} 631}
630 632
631sub item_update { 633sub item_update {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines