projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug that could cause an endless loop (freeze) in the MM engine
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 6cfba4e633c944145fee8330797e0ef72c32a839..8bc67e849c2a93ab809054a02e8083d3ccbbb654 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-5471,6
+5471,12
@@
static void InitSetup(void)
if (setup.options.verbose)
options.verbose = TRUE;
if (setup.options.verbose)
options.verbose = TRUE;
+ if (setup.options.debug)
+ options.debug = TRUE;
+
+ if (!strEqual(setup.options.debug_mode, ARG_UNDEFINED_STRING))
+ options.debug_mode = getStringCopy(setup.options.debug_mode);
+
if (setup.debug.show_frames_per_second)
global.show_frames_per_second = TRUE;
}
if (setup.debug.show_frames_per_second)
global.show_frames_per_second = TRUE;
}