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

Comparing deliantra/Deliantra/Deliantra/Map.pm (file contents):
Revision 1.15 by root, Thu Mar 23 08:55:55 2006 UTC vs.
Revision 1.16 by root, Thu Mar 23 09:00:36 2006 UTC

171 my %a = %{$_[0]}; 171 my %a = %{$_[0]};
172 172
173 Crossfire::normalize_arch \%a; 173 Crossfire::normalize_arch \%a;
174 174
175 # undo the bit-split we did before 175 # undo the bit-split we did before
176 if (exists $a{attack_movement_bits_0_3}) { 176 if (exists $a{attack_movement_bits_0_3} or exists $a{attack_movement_bits_4_7}) {
177 $a{attack_movement} = (delete $a{attack_movement_bits_0_3}) 177 $a{attack_movement} = (delete $a{attack_movement_bits_0_3})
178 | (delete $a{attack_movement_bits_4_7}); 178 | (delete $a{attack_movement_bits_4_7});
179 } 179 }
180 180
181 $str .= "arch $a{_name}\n"; 181 $str .= "arch $a{_name}\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines