X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=d83b754235cc37dce7569864cbae08d712a1bc94;hb=998be01ad92a672b69b11e24d472f6c0c076817f;hp=8f30094d77fec06f1ff6edbfc9c09c265b02211f;hpb=94b124e87edbd2e12d7b83f45254fcbfff8554cd;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 8f30094d..d83b7542 100644 --- a/src/init.c +++ b/src/init.c @@ -148,14 +148,16 @@ void InitSound() OpenAudio(&audio); + AllocSoundArray(NUM_SOUNDS); + for(i=0; idrawable) Error(ERR_EXIT, "cannot get graphics for '%s'", pic->picture_filename); + pix[pos]->gc = window->gc; + #if 0 /* setting pix_masked[] to pix[] allows BlitBitmapMasked() to always use pix_masked[], although they are the same when not using SDL */