--- deliantra/Deliantra-Client/bin/pclient 2006/05/08 20:55:49 1.203 +++ deliantra/Deliantra-Client/bin/pclient 2006/05/08 21:16:10 1.204 @@ -1371,9 +1371,10 @@ $FLOORBOX->add (new CFClient::UI::Empty expand => 1); # we basically have to use the same sorting as everybody else - for my $item (@{ $CONN->{container}{0} }) { - $FLOORBOX->add (new CFClient::UI::InventoryItem item => $item); - } + $FLOORBOX->add ( + map +(new CFClient::UI::InventoryItem item => $_), + @{ $CONN->{container}{0} } + ); }); refresh; } @@ -1418,7 +1419,7 @@ update_floorbox if $item->{container} == 0; $INV->set_items ($self->{container}{$item->{container}}) - if $item->{container}; == $self->{player}{tag}; + if $item->{container} == $self->{player}{tag}; } %SDL_CB = (