X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=6527025dca50f3c45dad13a761c8783dfe6cc1d0;hb=020210607f2ba71676882d52d0413f4128858b4a;hp=4ff449d904886b55daa253e80a5d2325308292f8;hpb=182260bf970d56e056a8c0c580ad61302d21ab0f;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 4ff449d9..6527025d 100644 --- a/src/init.c +++ b/src/init.c @@ -17,6 +17,7 @@ #include "misc.h" #include "sound.h" #include "screens.h" +#include "editor.h" #include "tools.h" #include "files.h" #include "joystick.h" @@ -66,6 +67,7 @@ void OpenAll(int argc, char *argv[]) InitSoundServer(); InitJoysticks(); InitRND(NEW_RANDOMIZE); + InitLevelEditorGadgets(); signal(SIGINT, CloseAllAndExit); signal(SIGTERM, CloseAllAndExit); @@ -160,20 +162,21 @@ void InitSound() */ #endif -#else +#else /* MSDOS */ sound_loops_allowed = TRUE; /* setup.sound_loops_on = TRUE; */ -#endif +#endif /* MSDOS */ for(i=0; i