Removed game_sound property as it is not working and not necessary anymore.
[blender.git] / source / blender / editors / space_view3d / view3d_view.c
index b7bc71fb688c13ad1e982d44ca4deec91fec3d75..adb1e6c6f1cfe56a0dd0c008b36522f0033b29a7 100644 (file)
@@ -1656,11 +1656,6 @@ void game_set_commmandline_options(GameData *gm)
 
        if ( (syshandle = SYS_GetSystem()) ) {
                /* User defined settings */
-               test= (U.gameflags & USER_DISABLE_SOUND);
-               /* if user already disabled audio at the command-line, don't re-enable it */
-               if (test)
-                       SYS_WriteCommandLineInt(syshandle, "noaudio", test);
-
                test= (U.gameflags & USER_DISABLE_MIPMAP);
                GPU_set_mipmap(!test);
                SYS_WriteCommandLineInt(syshandle, "nomipmap", test);