ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/map-world.ext
(Generate patch)

Comparing deliantra/server/ext/map-world.ext (file contents):
Revision 1.3 by root, Sun Jan 21 13:08:36 2007 UTC vs.
Revision 1.4 by root, Sun Jan 21 13:40:42 2007 UTC

87 my $row = substr $WORLD->{data}, $top + $Y * $stride, $WORLD->{tilew}; 87 my $row = substr $WORLD->{data}, $top + $Y * $stride, $WORLD->{tilew};
88 for my $X (0 .. $WORLD->{tilew} - 1) { 88 for my $X (0 .. $WORLD->{tilew} - 1) {
89 next if grep $_->flag (cf::FLAG_IS_FLOOR), $self->at ($X, $Y); 89 next if grep $_->flag (cf::FLAG_IS_FLOOR), $self->at ($X, $Y);
90 my $ob = cf::object::new $WORLD->{arch}[ord substr $row, $X]; 90 my $ob = cf::object::new $WORLD->{arch}[ord substr $row, $X];
91 $ob->flag (cf::FLAG_NO_MAP_SAVE, 1); 91 $ob->flag (cf::FLAG_NO_MAP_SAVE, 1);
92 $self->insert ($ob, $X, $Y); 92 $self->insert ($ob, $X, $Y, undef, cf::INS_ABOVE_FLOOR_ONLY);
93 } 93 }
94 } 94 }
95} 95}
96 96
971 971

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines