- int lost = totallost * ( (*j)->fleet(unittype, tick - 1) / m_Fleet[unittype][0] );
- cerr << (*j)->name() << " gaining " << lost << " " << unittype << endl;
+ int fl1 = (*j)->fleet(unittype, tick - 1);
+ float part = float(fl1) / fleet(unittype, 0) ;
+ int lost = totallost * part;
+ cerr << (*j)->name() << " gaining " << lost << " " << unittype << " since it's " << part * 100 << "% of the whole fleet, and it had : " << fl1 << " units last tick.." << endl;