--- deliantra/server/lib/cf.pm 2007/03/14 00:04:58 1.225 +++ deliantra/server/lib/cf.pm 2007/03/14 04:12:29 1.226 @@ -2284,6 +2284,10 @@ $faces = Storable::thaw $faces; Coro::cede; + my $meta = delete $faces->{""}; + $meta->{version} == 1 + or cf::cleanup "$path: version mismatch, cannot proceed."; + while (my ($face, $info) = each %$faces) { my $idx = (cf::face::find $face) || cf::face::alloc $face; cf::face::set $idx, $info->{visibility}, $info->{magicmap}; @@ -2297,7 +2301,6 @@ 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'"; }