projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8fd432
)
Cycle directly to nothing shown instead of showing the profiler graph again
author
lhofhansl
<lhofhansl@yahoo.com>
Fri, 4 Nov 2016 04:06:32 +0000
(
05:06
+0100)
committer
est31
<MTest31@outlook.com>
Fri, 4 Nov 2016 04:08:23 +0000
(
05:08
+0100)
Fix for previous commit.
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index af0476a0b74dd8f79749a505a5936f80e41f8529..33795abc531504118fd84a1f533dce37009c9c14 100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-3131,7
+3131,7
@@
void Game::toggleDebug(float *statustext_time, bool *show_debug,
*show_profiler_graph = false;
*show_wireframe = false;
statustext = L"Debug info shown";
- } else if (!*show_profiler_graph) {
+ } else if (!*show_profiler_graph
&& !*show_wireframe
) {
*show_profiler_graph = true;
statustext = L"Profiler graph shown";
} else if (!*show_wireframe && client->checkPrivilege("debug")) {