forked from jaildesigner-jailgames/jaildoctors_dilemma
Resuelto un bug. El jugador era invencible al inicializarse
This commit is contained in:
@@ -20,7 +20,7 @@ Player::Player(player_t ini, std::string tileset, std::string animation, SDL_Ren
|
|||||||
color = stringToColor("white");
|
color = stringToColor("white");
|
||||||
onBorder = false;
|
onBorder = false;
|
||||||
border = BORDER_TOP;
|
border = BORDER_TOP;
|
||||||
invincible = true;
|
invincible = false;
|
||||||
autoMovement = false;
|
autoMovement = false;
|
||||||
alive = true;
|
alive = true;
|
||||||
maxFallHeight = BLOCK * 4;
|
maxFallHeight = BLOCK * 4;
|
||||||
|
|||||||
Reference in New Issue
Block a user