[Change] Allow changing of afterburner sensitivity.

This commit is contained in:
Allanis 2014-08-04 23:44:14 +01:00
parent 741789391d
commit 0e76d75ab0

View File

@ -159,15 +159,19 @@ int conf_loadConfig(const char* file) {
if(i) { gl_screen.flags |= OPENGL_AA_LINE; i = 0; }
conf_loadBool("aa_polygon", i);
if(i) { gl_screen.flags |= OPENGL_AA_POLYGON; i = 0; }
/* vsync. */
conf_loadBool("vsync", i);
if(i) { gl_screen.flags |= OPENGL_VSYNC; i = 0; }
/* FPS. */
conf_loadBool("showfps", show_fps);
conf_loadInt("maxfps", max_fps);
/* Input. */
conf_loadInt("afterburn", input_afterburnSensibility);
i = 250;
conf_loadInt("afterburn", i);
input_afterburnSensibility = (i < 0) ? UINT_MAX : (unsigned int)i;
/* Sound. */
conf_loadBool("nosound", i);