4 putes merdes que no han servit pa res. Au demà miraré qué passa
This commit is contained in:
@@ -35,7 +35,7 @@ void Player::init()
|
||||
// Inicializa variables de estado
|
||||
posX = defaultPosX;
|
||||
posY = defaultPosY;
|
||||
alive = true;
|
||||
alive = enabled;
|
||||
statusWalking = PLAYER_STATUS_WALKING_STOP;
|
||||
statusFiring = PLAYER_STATUS_FIRING_NO;
|
||||
invulnerable = true;
|
||||
@@ -302,7 +302,8 @@ void Player::setScore(Uint32 score)
|
||||
// Incrementa la puntuación del jugador
|
||||
void Player::addScore(Uint32 score)
|
||||
{
|
||||
if (enabled && alive)
|
||||
//if (enabled && alive)
|
||||
if (alive)
|
||||
{
|
||||
this->score += score;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user