ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/GCE/ArchRef.pm
(Generate patch)

Comparing deliantra/gde/GCE/ArchRef.pm (file contents):
Revision 1.5 by elmex, Mon Feb 5 10:30:13 2007 UTC vs.
Revision 1.6 by elmex, Sun Jun 24 08:09:33 2007 UTC

114 if defined $self->{cb}; 114 if defined $self->{cb};
115 115
116 $self->exec_change_cbs (qw/inventory/); 116 $self->exec_change_cbs (qw/inventory/);
117 }; 117 };
118 118
119 [ map { GCE::ArchRef->new (arch => $_, cb => $cb) } @{$self->get ('inventory') || []} ] 119 [ map { GCE::ArchRef->new (arch => $_, source => 'inventory', cb => $cb) } @{$self->get ('inventory') || []} ]
120} 120}
121 121
122sub replace_inv { 122sub replace_inv {
123 my ($self, $idx, $new) = @_; 123 my ($self, $idx, $new) = @_;
124 splice @{$self->getarch->{'inventory'}}, $idx, 1, $new; 124 splice @{$self->getarch->{'inventory'}}, $idx, 1, $new;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines