--- deliantra/Deliantra-Client/DC/Protocol.pm 2006/06/24 00:24:09 1.43 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2006/06/28 21:17:01 1.46 @@ -107,7 +107,7 @@ $self->logprint ("send: ", $command); $self->send_command ($command); - ::status $command; + ::status ($command); } sub start_record { @@ -525,7 +525,7 @@ $::FLOORBOX->clear; my $row; - for (@{ $::CONN->{container}{0} }) { + for (sort { $a->{count} <=> $b->{count} } values %{ $::CONN->{container}{0} }) { if ($row < 6) { local $_->{face_widget}; # hack to force recreation of widget local $_->{desc_widget}; # hack to force recreation of widget @@ -587,6 +587,7 @@ update_floorbox; update_container (0); } elsif ($tag == $self->{player}{tag}) { + $::STATWIDS->{weight}->set_text (sprintf "Weight: %.1fkg", $self->{player}->{weight} / 1000); $::INV->set_items ($self->{container}{$self->{player}{tag}}) } else { update_container ($tag);