X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=25372817c65617fc2fa08f9cd8ed2fa11467a208;hb=2d603d06ca862f3ca0721b66f62da188faf866c4;hp=1f724a11a8088294c6c0781013a7202c5e60d909;hpb=192bb88f2e18aeec39614040d52e7d9fabebdb99;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 1f724a11..25372817 100644 --- a/src/init.c +++ b/src/init.c @@ -105,8 +105,6 @@ void OpenAll(void) InitGfxBackground(); InitToons(); - InitGameEngine(); - DrawMainMenu(); InitNetworkServer(); @@ -180,8 +178,12 @@ static void InitMixer() static void InitSound() { + /* load custom sounds and music */ InitReloadSounds(artwork.snd_current->name); InitReloadMusic(artwork.mus_current->name); + + /* initialize sound effect lookup table for element actions */ + InitGameSound(); } static void InitTileClipmasks()