ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/pclient
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/pclient (file contents):
Revision 1.206 by root, Tue May 9 22:27:55 2006 UTC vs.
Revision 1.207 by root, Wed May 10 21:12:26 2006 UTC

1367 return unless $CONN; 1367 return unless $CONN;
1368 1368
1369 $FLOORBOX->clear; 1369 $FLOORBOX->clear;
1370 $FLOORBOX->add (new CFClient::UI::Empty expand => 1); 1370 $FLOORBOX->add (new CFClient::UI::Empty expand => 1);
1371 1371
1372 # we basically have to use the same sorting as everybody else 1372 my $count = 4;
1373 $FLOORBOX->add ( 1373 for (@{ $CONN->{container}{0} }) {
1374 if (--$count) {
1374 map +(new CFClient::UI::InventoryItem item => $_), 1375 $FLOORBOX->add (new CFClient::UI::InventoryItem item => $_);
1375 @{ $CONN->{container}{0} } 1376 } else {
1377 $FLOORBOX->add (new CFClient::UI::Label text => "More...");
1378 last;
1379 }
1376 ); 1380 }
1377 }); 1381 });
1378 1382
1379 $WANT_REFRESH++; 1383 $WANT_REFRESH++;
1380} 1384}
1381 1385

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines