[Fix] Removed debug player health drop.
This commit is contained in:
parent
f1a003a04f
commit
112c1c5725
@ -146,7 +146,6 @@ void Game::HandleInput(void) {
|
|||||||
_ingameMenu.SetStatus(true);
|
_ingameMenu.SetStatus(true);
|
||||||
if(event.key.keysym.sym == SDLK_p)
|
if(event.key.keysym.sym == SDLK_p)
|
||||||
debugEnabled = !debugEnabled;
|
debugEnabled = !debugEnabled;
|
||||||
_player->SetHealth(50);
|
|
||||||
}
|
}
|
||||||
else if(event.type == SDL_QUIT) {
|
else if(event.type == SDL_QUIT) {
|
||||||
_gameRunning = false;
|
_gameRunning = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user