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

Comparing deliantra/Deliantra/Deliantra.pm (file contents):
Revision 1.78 by root, Sun Dec 3 01:02:05 2006 UTC vs.
Revision 1.79 by elmex, Fri Jan 5 14:17:49 2007 UTC

602 my ($a) = @_; 602 my ($a) = @_;
603 603
604 my $o = $ARCH{$a->{_name}} 604 my $o = $ARCH{$a->{_name}}
605 or return; 605 or return;
606 606
607 my $face = $FACE{$a->{face} || $o->{face} || "blank.111"} 607 my $face = $FACE{$a->{face} || $o->{face} || "blank.111"};
608 unless ($face) {
609 $face = $FACE{"blank.x11"}
608 or (warn "no face data found for arch '$a->{_name}'"), return; 610 or (warn "no face data found for arch '$a->{_name}'"), return;
611 }
609 612
610 if ($face->{w} > 1 || $face->{h} > 1) { 613 if ($face->{w} > 1 || $face->{h} > 1) {
611 # bigface 614 # bigface
612 return (0, 0, $face->{w} - 1, $face->{h} - 1); 615 return (0, 0, $face->{w} - 1, $face->{h} - 1);
613 616

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines