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.131 by root, Tue Jul 24 04:54:48 2007 UTC vs.
Revision 1.132 by root, Tue Jul 24 05:13:23 2007 UTC

734 734
735sub face_update { 735sub face_update {
736 my ($self, $facenum, $face, $changed) = @_; 736 my ($self, $facenum, $face, $changed) = @_;
737 737
738 if ($face->{type} == 0) { # FT_FACE 738 if ($face->{type} == 0) { # FT_FACE
739 CFPlus::DB::put tilecache => $face->{id} => $face->{image}, sub { } 739 CFPlus::DB::put tilecache => $face->{id} => $face->{data}, sub { }
740 if $changed; 740 if $changed;
741 741
742 $self->set_texture ($face->{id} => delete $face->{data}); 742 $self->set_texture ($face->{id} => delete $face->{data});
743 743
744 } elsif ($face->{type} & 1) { # split metadata 744 } elsif ($face->{type} & 1) { # split metadata

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines