fix print and useless operation

This commit is contained in:
Askou
2021-06-18 15:30:18 +02:00
parent b57be1f22b
commit 4acac815fd
5 changed files with 3 additions and 10 deletions
-1
View File
@@ -76,7 +76,6 @@ namespace BBM {
float value = (distribution(generator) / 10);
BonusType bonus = NOTHING;
std::cout << value << std::endl;
for (auto &chance : chanceValue)
if (chance.second > value)
bonus = chance.first;