added setup debug option for displaying frames per second (FPS)
[rocksndiamonds.git] / src / init.c
index 33f97e45e41b0193fb84b6963df54e6f0363e577..2a5807a4867de736dceaf9aece45f64b0be15eca 100644 (file)
@@ -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()