]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Runtime.cpp
some experiments with sound
[blank.git] / src / app / Runtime.cpp
index 8ddab262e483e34b5f24f01fab08d13b5f9702dd..1dcf722f9e94e06db392822aabad9e6abb6d5782 100644 (file)
@@ -49,6 +49,8 @@ void Runtime::ReadArgs(int argc, const char *const *argv) {
                                                config.interface.mouse_disabled = true;
                                        } else if (strcmp(arg + 2, "no-hud") == 0) {
                                                config.interface.visual_disabled = true;
+                                       } else if (strcmp(arg + 2, "no-audio") == 0) {
+                                               config.interface.audio_disabled = true;
                                        } else {
                                                cerr << "unknown option " << arg << endl;
                                                error = true;