Resuelto un bug. El jugador era invencible al inicializarse

This commit is contained in:
2022-10-03 17:56:43 +02:00
parent 5bde75fc2f
commit a3ac1a94ca

View File

@@ -20,7 +20,7 @@ Player::Player(player_t ini, std::string tileset, std::string animation, SDL_Ren
color = stringToColor("white");
onBorder = false;
border = BORDER_TOP;
invincible = true;
invincible = false;
autoMovement = false;
alive = true;
maxFallHeight = BLOCK * 4;