QTfrontend/game.cpp
changeset 3711 de3b3df215c3
parent 3709 c7849b74748d
child 3760 d30f1ba768d7
--- a/QTfrontend/game.cpp	Mon Aug 02 23:15:22 2010 +0200
+++ b/QTfrontend/game.cpp	Mon Aug 02 23:15:34 2010 +0200
@@ -277,21 +277,16 @@
     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 << (config->isWeaponTooltip() ? "1" : "0");
-    arguments << tr("en.txt");
+    arguments << (config->isMusicEnabled() ? "1" : "0");
     arguments << QString::number(config->volume()); // sound volume
     arguments << QString::number(config->timerInterval());
     arguments << datadir->absolutePath();
     arguments << (config->isShowFPSEnabled() ? "1" : "0");
     arguments << (config->isAltDamageEnabled() ? "1" : "0");
     arguments << config->netNick().toUtf8().toBase64();
-    arguments << (config->isMusicEnabled() ? "1" : "0");
-    arguments << (config->isReducedQuality() ? "1" : "0");
+    arguments << QString::number(config->translateQuality());
+    arguments << tr("en.txt");
+
     return arguments;
 }