- /* torps_ok == 0 forces use of phasers in an attack */
- int percent, ihurt=0, l, i=0, iquad, itflag;
- int atackd = 0, attempt = 0;
- double hit;
- double pfac, dustfac, hitmax=0.0, hittot=0.0, chgfac=1.0, r;
+ /* torps_ok == false forces use of phasers in an attack */
+ int percent, loop, iquad;
+ bool itflag, atackd = false, attempt = false, ihurt = false;
+ double hit, pfac, dustfac, hitmax=0.0, hittot=0.0, chgfac=1.0, r;