]> ruin.nu Git - hbs.git/blobdiff - bs/fleet.cpp
fixed a bug with non shooting pds...
[hbs.git] / bs / fleet.cpp
index ed5efb9fd16881f48f127302f9a92f1437c68f95..b4e4335a4c71486f7db35b461765b8ba31566f16 100644 (file)
@@ -309,12 +309,11 @@ void Fleet::takeShoot(std::string unittype, int number, std::map<std::string, in
 
        float guns = s_Units[unittype].guns() * number;
 
-       cerr << number << " " << unittype << ": with " << guns << " guns\n";
        
        if (guns == 0)
                return;
 
-       cerr << unittype << ": with " << guns << " guns\n";
+       cerr << number << " " << unittype << ": with " << guns << " guns\n";
 
        float gunsleft = guns;
        for (int count = 0; count < 3; ++count)//vector<string>::iterator i = s_Units[unittype].target().begin(); i != s_Units[unittype].target().end(); ++i)