--- deliantra/Deliantra-Client/bin/pclient 2006/04/28 05:17:24 1.191 +++ deliantra/Deliantra-Client/bin/pclient 2006/04/29 16:17:10 1.193 @@ -860,7 +860,8 @@ $BUTTONBAR->add (new CFClient::UI::Flopper text => "Server Setup", other => server_setup); $BUTTONBAR->add (new CFClient::UI::Flopper text => "Message Window", other => message_window); - $CFClient::UI::ROOT->add (make_gauge_window); # XXX: this has to be set before make_stats_window as make_stats_window calls update_stats_window which updated the gauges also X-D + make_gauge_window->show; # XXX: this has to be set before make_stats_window as make_stats_window calls update_stats_window which updated the gauges also X-D + $BUTTONBAR->add (new CFClient::UI::Flopper text => "Stats Window", other => make_stats_window); $BUTTONBAR->add (new CFClient::UI::Flopper text => "Inventory", other => make_inventory_window); @@ -1324,12 +1325,8 @@ $FLOORBOX->clear; $FLOORBOX->add (new CFClient::UI::Empty expand => 1); - my @items = values %{ $CONN->{container}{0} }; - # we basically have to use the same sorting as everybody else - @items = sort { $a->{type} <=> $b->{type} } @items; - - for my $item (reverse @items) { + for my $item (@{ $CONN->{container}{0} }) { my $desc = $item->{nrof} < 2 ? $item->{name} : "$item->{nrof} $item->{name_pl}";