--- cf.schmorp.de/server/utils/cfutil.in 2007/08/20 22:09:04 1.57 +++ cf.schmorp.de/server/utils/cfutil.in 2007/08/21 20:00:18 1.59 @@ -175,12 +175,11 @@ my $fi = $FACEINFO{$base}; unless ($fi) { - warn "$path: <$base> not referenced by any archetype, skipping.\n"; - next; + #warn "$path: <$base> not referenced by any archetype, skipping.\n"; + #next; } - my $arc = $FACEINFO{$base}{arc} - or die "FATAL: internal error <$base>, cannot continue"; + my $arc = $fi->{arc} || { }; unless ($path =~ /~$/) { # possibly enlarge @@ -427,8 +426,11 @@ }; } - for my $face ($o->{face} || (), @{$anim || []}) { - next if $face =~ /^facings\s/; + for ($o->{face} || (), @{$anim || []}) { + next if /^facings\s/; + + my $face = $_; + $face =~ s/\+\d+\+\d+$//; # remove tile offset coordinates my $info = $FACEINFO{$face} ||= { }; $info->{arc} = $o;