bug fix
This commit is contained in:
@@ -74,7 +74,7 @@ void Director::init()
|
||||
}
|
||||
|
||||
// Sección
|
||||
mSection.name = PROG_SECTION_GAME;
|
||||
mSection.name = PROG_SECTION_LOGO;
|
||||
mSection.subsection = 0;
|
||||
|
||||
// Textos
|
||||
|
||||
@@ -1559,7 +1559,7 @@ std::string Game::updateScoreText(Uint32 num)
|
||||
// Pinta el marcador en pantalla usando un objeto texto
|
||||
void Game::renderScoreBoard()
|
||||
{
|
||||
color_t color = {0, 0, 0};
|
||||
//color_t color = {0, 0, 0};
|
||||
|
||||
// Si el jugador esta muerto, no pintes el fondo del marcador, así que pase por encima cuando sale despedido
|
||||
//if (mPlayer[0]->isAlive())
|
||||
@@ -1595,7 +1595,7 @@ void Game::renderScoreBoard()
|
||||
const int offset1 = 163;
|
||||
const int offset2 = offset1 + 8;
|
||||
const int offset3 = offset2 + 8;
|
||||
const int offset4 = offset3 + 8;
|
||||
//const int offset4 = offset3 + 8;
|
||||
// PLAYER1 - SCORE
|
||||
mTextScoreBoard->writeCentered(PLAY_AREA_LEFT + 30, offset1, mTextStrings[53]);
|
||||
mTextScoreBoard->writeCentered(PLAY_AREA_LEFT + 30, offset2, updateScoreText(mPlayer[0]->getScore()));
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user