projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added setup debug option for displaying frames per second (FPS)
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 33f97e45e41b0193fb84b6963df54e6f0363e577..2a5807a4867de736dceaf9aece45f64b0be15eca 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-5055,6
+5055,9
@@
static void InitSetup()
if (setup.options.verbose)
options.verbose = TRUE;
+
+ if (setup.debug.show_frames_per_second)
+ global.show_frames_per_second = TRUE;
}
static void InitGameInfo()