aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2014-07-05 11:54:09 +0300
committerPerttu Ahola <celeron55@gmail.com>2014-07-05 11:55:13 +0300
commit2fee2baf98cd452f7d0e4acb6c82617b7c7b995a (patch)
treeb1d6edd48789499a3ec9889ee7b39e58d0f286dc /src
parent95be18a3c13db8a30a2485c3bcc4b1222af83cae (diff)
downloadminetest-2fee2baf98cd452f7d0e4acb6c82617b7c7b995a.tar.gz
minetest-2fee2baf98cd452f7d0e4acb6c82617b7c7b995a.tar.bz2
minetest-2fee2baf98cd452f7d0e4acb6c82617b7c7b995a.zip
Remove FPS from being next to the version string
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4f034676c..768193147 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -3217,9 +3217,8 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
}
else if(show_hud || show_chat)
{
- u16 fps = (1.0/dtime_avg1);
std::ostringstream os(std::ios_base::binary);
- os<<"Minetest "<<minetest_version_hash <<" FPS = "<<fps;
+ os<<"Minetest "<<minetest_version_hash;
guitext->setText(narrow_to_wide(os.str()).c_str());
guitext->setVisible(true);
}