]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
cleanup of campaign levels handling.
[lugaru.git] / Source / GameInitDispose.cpp
index 7edf75d9e6f44b6027335ea68d94a0e31fdb8fde..65780a0846643a2b98eaeec28519d8005ef5b0f2 100644 (file)
@@ -776,9 +776,9 @@ void Game::InitGame()
 
        LOG("Initializing sound system...");
 
-    int output = -1;
-
     #if PLATFORM_LINUX
+    int output = -1;
+    
     extern bool cmdline(const char *cmd);
     unsigned char rc = 0;
     output = OPENAL_OUTPUT_ALSA;  // Try alsa first...