ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra/Protocol.pm (file contents):
Revision 1.24 by root, Mon Apr 17 06:50:45 2006 UTC vs.
Revision 1.25 by root, Mon Apr 17 19:31:06 2006 UTC

201sub drawinfo { } 201sub drawinfo { }
202 202
203sub feed_drawinfo { 203sub feed_drawinfo {
204 my ($self, $data) = @_; 204 my ($self, $data) = @_;
205 205
206 $self->drawinfo (split / /, $data, 2); 206 my ($flags, $text) = split / /, $data, 2;
207
208 utf8::decode $text if utf8::valid $text;
209
210 $self->drawinfo ($flags, $text);
207} 211}
208 212
209=item $conn->player_update ($player) 213=item $conn->player_update ($player)
210 214
211tag, weight, face, name 215tag, weight, face, name

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines