X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=0dc30c653d58cb24389d2824db335b13d14322aa;hp=fec8cc2d28893eff8ddb75f9035b3efa7f5298b4;hb=7b61c9f3ee0fb13b190dba016923ebcd547c4f27;hpb=2e99b0c26d334eb287486b8933b52b5048c6cc0c diff --git a/src/init.c b/src/init.c index fec8cc2d..0dc30c65 100644 --- a/src/init.c +++ b/src/init.c @@ -5209,15 +5209,11 @@ void Execute_Command(char *command) } else if (strPrefix(command, "create images ")) { -#if defined(TARGET_SDL) global.create_images_dir = getStringCopy(&command[14]); if (access(global.create_images_dir, W_OK) != 0) Error(ERR_EXIT, "image target directory '%s' not found or not writable", global.create_images_dir); -#else - Error(ERR_EXIT, "command only available for SDL target"); -#endif } #if DEBUG