bug hunting coffee machine on windows

This commit is contained in:
2021-08-27 08:33:21 +02:00
parent dafba0648f
commit 97d5140ef9
3 changed files with 16 additions and 4 deletions

View File

@@ -2269,10 +2269,10 @@ void Game::resetItems()
// Devuelve un item en función del azar
Uint8 Game::dropItem()
{
/*if (mPlayer[0]->isPowerUp() || (mCoffeeMachineEnabled))
if (mPlayer[0]->isPowerUp() || (mCoffeeMachineEnabled))
return NO_KIND;
else
return ITEM_COFFEE_MACHINE;*/
return ITEM_COFFEE_MACHINE;
const Uint8 luckyNumber = rand() % 100;
const Uint8 item = rand() % 6;