diff options
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r-- | src/gui/ministatus.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp index 6d9fc5b1..c4c834c7 100644 --- a/src/gui/ministatus.cpp +++ b/src/gui/ministatus.cpp @@ -97,8 +97,6 @@ void MiniStatusWindow::update() float xp = (float) player_node->getXp() / player_node->mXpForNextLevel; - std::cout << xp << std::endl; - if (xp != xp) xp = 0.0f; // check for NaN if (xp < 0.0f) xp = 0.0f; // make sure the experience isn't negative (uninitialized pointer most likely) if (xp > 1.0f) xp = 1.0f; |