mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-27 00:06:49 +00:00
fix print and useless operation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user