ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.234 by root, Thu Apr 5 13:44:31 2007 UTC vs.
Revision 1.235 by root, Tue Apr 10 09:35:23 2007 UTC

2332 while (my ($face, $info) = each %$faces) { 2332 while (my ($face, $info) = each %$faces) {
2333 next unless $info->{smooth}; 2333 next unless $info->{smooth};
2334 my $idx = cf::face::find $face 2334 my $idx = cf::face::find $face
2335 or next; 2335 or next;
2336 if (my $smooth = cf::face::find $info->{smooth}) { 2336 if (my $smooth = cf::face::find $info->{smooth}) {
2337 cf::face::set_smooth $idx, $smooth; 2337 cf::face::set_smooth $idx, $smooth, $info->{smoothlevel};
2338 } else { 2338 } else {
2339 warn "smooth face '$info->{smooth}' not found for face '$face'"; 2339 warn "smooth face '$info->{smooth}' not found for face '$face'";
2340 } 2340 }
2341 Coro::cede; 2341 Coro::cede;
2342 } 2342 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines