Skip to content

Commit

Permalink
Remove FPS from being next to the version string
Browse files Browse the repository at this point in the history
  • Loading branch information
celeron55 committed Jul 5, 2014
1 parent 95be18a commit 2fee2ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/game.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2fee2ba

Please sign in to comment.