projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95be18a
)
Remove FPS from being next to the version string
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 5 Jul 2014 08:54:09 +0000
(11:54 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 5 Jul 2014 08:55:13 +0000
(11:55 +0300)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index 4f034676cd510273e67bc47b564fa3f470449233..768193147dd575dff3f7bbe4ce1d7ff74cd5249e 100644
(file)
--- 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);
}