QTfrontend/game.cpp
changeset 2443 fececcbc2189
parent 2428 6800f8aa0184
child 2468 0b62498c201a
--- a/QTfrontend/game.cpp	Wed Oct 14 16:30:41 2009 +0000
+++ b/QTfrontend/game.cpp	Wed Oct 14 22:12:02 2009 +0000
@@ -283,7 +283,11 @@
 	arguments << QString("%1").arg(ipc_port);
 	arguments << (config->vid_Fullscreen() ? "1" : "0");
 	arguments << (config->isSoundEnabled() ? "1" : "0");
+#ifdef _WIN32
 	arguments << (config->isSoundHardware() ? "1" : "0");
+#else
+	arguments << "0";
+#endif
 	arguments << tr("en.txt");
 	arguments << QString::number(config->volume()); // sound volume
 	arguments << QString::number(config->timerInterval());