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.192 by root, Thu Mar 27 20:42:23 2008 UTC vs.
Revision 1.193 by root, Thu Apr 24 00:08:33 2008 UTC

1273} 1273}
1274 1274
1275sub item_update { 1275sub item_update {
1276 my ($self, $item) = @_; 1276 my ($self, $item) = @_;
1277 1277
1278 #d# print "item_update: $item->{tag} in $item->{container} ($self->{player}{tag}) ($::CONN->{open_container})\n"; 1278 #print "item_update: $item->{tag} in $item->{container} pt($self->{player}{tag}) oc($::CONN->{open_container}) f($item->{flags})\n";
1279 1279
1280 DC::Item::update_widgets $item; 1280 DC::Item::update_widgets $item;
1281 1281
1282 if ($item->{tag} == $::CONN->{open_container} && not ($item->{flags} & F_OPEN)) { 1282 if ($item->{tag} == $::CONN->{open_container} && not ($item->{flags} & F_OPEN)) {
1283 set_opencont ($::CONN, 0, "Floor"); 1283 set_opencont ($::CONN, 0, "Floor");
1284 1284
1285 } elsif ($item->{flags} & F_OPEN) { 1285 } elsif ($item->{flags} & F_OPEN) {
1286 set_opencont ($::CONN, $item->{tag}, DC::Item::desc_string $item); 1286 set_opencont ($::CONN, $item->{tag}, DC::Item::desc_string $item);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines