diff --git a/src/Unuk/Game.cpp b/src/Unuk/Game.cpp index 928b6ad..b50b918 100644 --- a/src/Unuk/Game.cpp +++ b/src/Unuk/Game.cpp @@ -128,14 +128,6 @@ gameNavVal_t Game::Run(const string savegameIDArg) { playerXYString.str(""); playerXYString << "Player coords: x" << _player->GetX() << ", y" << _player->GetY(); _playerXY.SetTextBlended(playerXYString.str(), vsmall, COLOUR_BLACK); - - int npc0Health = 0; - if(_map.GetWorld().GetNPCCount() == 0) { - npc0Health = 0; - } - else { - npc0Health = _map.GetWorld().GetNPC(0)->GetHealth(); - } } } // Restrict the fps. diff --git a/src/Unuk/Globals.cpp b/src/Unuk/Globals.cpp index 0ad4ff3..4c8d6b9 100644 --- a/src/Unuk/Globals.cpp +++ b/src/Unuk/Globals.cpp @@ -8,7 +8,8 @@ SDL_Event event; int levelWidth; int levelHeight; -bool debugEnabled = true; +// Start off false. press 'p' to turn it on! +bool debugEnabled = false; EventHistory* eventHistory = NULL;