]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
Remove some extra declarations of "channels"
[lugaru.git] / Source / GameInitDispose.cpp
index c96eb28c06990fabcf7d0fe831bf5777dc9262ce..28b0f69a74965837408a226bfc8096ca4bbfb36b 100644 (file)
@@ -34,7 +34,6 @@ extern float gravity;
 extern Light light;
 extern Skeleton testskeleton;
 extern int numsounds;
-extern int channels[100];
 extern Terrain terrain;
 //extern Sprites sprites;
 extern int kTextureSize;
@@ -828,8 +827,6 @@ void Game::InitGame()
                //terraindetail=2;
        }
 
-       memset(channels, 0xff, sizeof(channels));
-
        LOG("Initializing sound system...");
 
     int output = -1;
@@ -920,11 +917,6 @@ void Game::LoadStuff()
 
        visibleloading=1;
 
-       /*musicvolume[3]=512;
-       PlaySoundEx( music4, samp[music4], NULL, true);
-       OPENAL_SetPaused(channels[music4], false);
-       OPENAL_SetVolume(channels[music4], 512);
-       */
        loadtime=0;
 
        stillloading=1;