X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Ffleet.cpp;h=cd558a6ae5f2ceff39e69dfa7ef25a0813f908d0;hp=bab852f0bf704b941a00b464771ac7d4fd37960d;hb=cb2fabf93c2f6ba8b57833309038adb972f58925;hpb=e0be1e6e8f7a246acf49e1f315c8d5bc5a65bfa3 diff --git a/bs/fleet.cpp b/bs/fleet.cpp index bab852f..cd558a6 100644 --- a/bs/fleet.cpp +++ b/bs/fleet.cpp @@ -449,6 +449,7 @@ void Fleet::takeShoot(std::string unittype, int number, std::mapfirst]++; //There is a chance that we're hitting a blocked ship. + /*Not anymore.. if (m_BlockedFleet[j->first].size() >= 1) { int test = rand() % m_BlockedFleet[j->first][0]; @@ -461,6 +462,7 @@ void Fleet::takeShoot(std::string unittype, int number, std::mapfirst][1]--; } } + */ } } @@ -477,7 +479,7 @@ void Fleet::takeShoot(std::string unittype, int number, std::map& hitunits) { int guns = s_Units[unittype].guns() * number; if (guns == 0)