[Change] Turned off debug text unless 'p' is pressed.

[Remove] Gave some of KonoM's debug stuff the axe.
This commit is contained in:
Rtch90 2012-02-02 00:09:24 +00:00
parent f7ae1af267
commit 7d1a1b1295
2 changed files with 2 additions and 9 deletions

View File

@ -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.

View File

@ -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;