Difference for lib/collect.pl.in from version 1.14 to 1.15


version 1.14 version 1.15
Line 278
 
Line 278
       if ($var eq "attacktype") {        if ($var eq "attacktype") {
        $at = 0;         $at = 0;
        foreach $t ( @values ) {         foreach $t ( @values ) {
         if ( $t =~ /\d+/ ) {          if ( $t =~ /^\d+$/ ) {
          $at += $t;           $at |= $t;
         } else {          } else {
          if ( defined( $attacktype{ $t } ) ) {           if ( defined( $attacktype{ $t } ) ) {
           $at += $attacktype{ $t };            $at |= $attacktype{ $t };
           } else {            } else {
           &warn($arch . " has invalid attacktype " . $t);            &warn($arch . " has invalid attacktype " . $t);
           }            }


Legend:
line(s) removed in v.1.14 
line(s) changed
 line(s) added in v.1.15

File made using version 1.98 of cvs2html by leaf at 2011-07-21 18:44