[Change] Turned off debug text unless 'p' is pressed.
[Remove] Gave some of KonoM's debug stuff the axe.
This commit is contained in:
parent
f7ae1af267
commit
7d1a1b1295
@ -128,14 +128,6 @@ gameNavVal_t Game::Run(const string savegameIDArg) {
|
|||||||
playerXYString.str("");
|
playerXYString.str("");
|
||||||
playerXYString << "Player coords: x" << _player->GetX() << ", y" << _player->GetY();
|
playerXYString << "Player coords: x" << _player->GetX() << ", y" << _player->GetY();
|
||||||
_playerXY.SetTextBlended(playerXYString.str(), vsmall, COLOUR_BLACK);
|
_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.
|
// Restrict the fps.
|
||||||
|
@ -8,7 +8,8 @@ SDL_Event event;
|
|||||||
int levelWidth;
|
int levelWidth;
|
||||||
int levelHeight;
|
int levelHeight;
|
||||||
|
|
||||||
bool debugEnabled = true;
|
// Start off false. press 'p' to turn it on!
|
||||||
|
bool debugEnabled = false;
|
||||||
|
|
||||||
EventHistory* eventHistory = NULL;
|
EventHistory* eventHistory = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user