summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-10 17:10:38 -0700
committerIra Rice <irarice@gmail.com>2009-01-10 17:10:38 -0700
commite1b29d03d1fa9f1e6716fdd03f4baa62a02240dd (patch)
tree20a44ee2fb4d7b4aeda879d29378ec1708e3084d /src/gui
parentf634a2811c613d6ec43915841b37b66d54e2d4d4 (diff)
downloadmana-e1b29d03d1fa9f1e6716fdd03f4baa62a02240dd.tar.gz
mana-e1b29d03d1fa9f1e6716fdd03f4baa62a02240dd.tar.bz2
mana-e1b29d03d1fa9f1e6716fdd03f4baa62a02240dd.tar.xz
mana-e1b29d03d1fa9f1e6716fdd03f4baa62a02240dd.zip
Removed a debug line that was accidently left in.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/ministatus.cpp2
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;