X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=0d7dfe9359ded8e89ef18cc74ac6d7584785af8e;hb=2d769736ea3634a55a88c1d792ffdbefb190d1f3;hp=c3c14af2e682f984e3034b7a011c12c363f24e59;hpb=e3a53d28634c52a0b1de6d0609de911e5d01c344;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index c3c14af2..0d7dfe93 100644 --- a/src/init.c +++ b/src/init.c @@ -2837,8 +2837,12 @@ void InitElementPropertiesStatic() EL_SIGN_FRANKIE, EL_STEEL_EXIT_CLOSED, EL_STEEL_EXIT_OPEN, + EL_STEEL_EXIT_OPENING, + EL_STEEL_EXIT_CLOSING, EL_EM_STEEL_EXIT_CLOSED, EL_EM_STEEL_EXIT_OPEN, + EL_EM_STEEL_EXIT_OPENING, + EL_EM_STEEL_EXIT_CLOSING, EL_DC_STEELWALL_1_LEFT, EL_DC_STEELWALL_1_RIGHT, EL_DC_STEELWALL_1_TOP, @@ -4182,6 +4186,7 @@ void InitElementPropertiesStatic() EL_PLAYER_2, EL_PLAYER_3, EL_PLAYER_4, + EL_SOKOBAN_FIELD_PLAYER, EL_SP_MURPHY, EL_YAMYAM, EL_YAMYAM_LEFT, @@ -5192,15 +5197,13 @@ void Execute_Command(char *command) str_ptr++; } } - else if (strPrefix(command, "convert ") || - strPrefix(command, "convert_special_1 ")) + else if (strPrefix(command, "convert ")) { - char *str_copy = getStringCopy(&command[8]); + char *str_copy = getStringCopy(strchr(command, ' ') + 1); char *str_ptr = strchr(str_copy, ' '); global.convert_leveldir = str_copy; global.convert_level_nr = -1; - global.convert_mode_special_1 = strPrefix(command, "convert_special_1 "); if (str_ptr != NULL) /* level number follows */ {