--- deliantra/server/lib/cf.pm 2007/03/12 21:42:12 1.224 +++ deliantra/server/lib/cf.pm 2007/03/14 00:04:58 1.225 @@ -1997,7 +1997,7 @@ my ($self, $text, $flags) = @_; utf8::encode $text; - $self->send_packet (sprintf "drawinfo %d %s", $flags, $text); + $self->send_packet (sprintf "drawinfo %d %s", $flags || cf::NDI_BLACK, $text); } @@ -2291,6 +2291,19 @@ Coro::cede; } + while (my ($face, $info) = each %$faces) { + next unless $info->{smooth}; + my $idx = cf::face::find $face + or next; + if (my $smooth = cf::face::find $info->{smooth}) { + cf::face::set_smooth $idx, $smooth; + warn "smooth $idx,$smooth ($face,$info->{smooth})\n";#d# + } else { + warn "smooth face '$info->{smooth}' not found for face '$face'"; + } + Coro::cede; + } + 1 }