X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=8817d9634e95a0e039ff029df600da25d916eb20;hb=092cfc403b3bcf3a390e961f594f28056b5f6aec;hp=c6b6d0d31ce04236f853ef6559c1bf47ebe8772f;hpb=59b8b14321b5a6b47dddaa9ca8a3b721350fdff8;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index c6b6d0d3..8817d963 100644 --- a/src/init.c +++ b/src/init.c @@ -4683,25 +4683,6 @@ void InitElementPropertiesEngine(int engine_version) InitElementGraphicInfo(); } -void InitElementPropertiesAfterLoading(int engine_version) -{ - int i; - - /* set some other uninitialized values of custom elements in older levels */ - if (engine_version < VERSION_IDENT(3,1,0,0)) - { - for (i = 0; i < NUM_CUSTOM_ELEMENTS; i++) - { - int element = EL_CUSTOM_START + i; - - element_info[element].access_direction = MV_ALL_DIRECTIONS; - - element_info[element].explosion_delay = 17; - element_info[element].ignition_delay = 8; - } - } -} - void InitElementPropertiesGfxElement() { int i; @@ -5058,6 +5039,7 @@ void Execute_Command(char *command) static void InitSetup() { LoadSetup(); /* global setup info */ + LoadSetup_AutoSetup(); /* global auto setup info */ /* set some options from setup file */