hitunits[j->first]++;
//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];
m_BlockedFleet[j->first][1]--;
}
}
+ */
}
}
//////////////////////////////////////////////////////////////////////////
//
-void Fleet::takeEMP(std::string unittype, int number)
+void Fleet::takeEMP(std::string unittype, int number, std::map<std::string, int>& hitunits)
{
int guns = s_Units[unittype].guns() * number;
if (guns == 0)