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:
8500288
)
Fix client profiler print interval
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 18 Oct 2011 07:36:52 +0000
(10:36 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 18 Oct 2011 07:36:52 +0000
(10:36 +0300)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index 92d4a2ae490601d1b101e729763a75e21a311786..645d736125d6a755a0155bdd3141d6476f4d092b 100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-1177,7
+1177,7
@@
void the_game(
print_to_log = false;
profiler_print_interval = 5;
}
- if(m_profiler_interval.step(
0.030
, profiler_print_interval))
+ if(m_profiler_interval.step(
dtime
, profiler_print_interval))
{
if(print_to_log){
infostream<<"Profiler:"<<std::endl;