fixed using full image size for initial images if not specified
authorHolger Schemel <info@artsoft.org>
Sat, 12 Aug 2023 13:59:43 +0000 (15:59 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 12 Aug 2023 14:01:50 +0000 (16:01 +0200)
src/init.c

index ea7167fe566996f283d05e97b6d9354b2afd865a..3362ac97f2bb8dd7ec0e23817ef0e637a9462e2b 100644 (file)
@@ -5890,6 +5890,9 @@ static void InitGfx(void)
     checked_free(filename_image_initial[i]);
   }
 
+  for (i = 0; i < NUM_INITIAL_IMAGES; i++)
+    image_initial[i].use_image_size = TRUE;
+
   graphic_info = image_initial;                // graphic == 0 => image_initial
 
   for (i = 0; i < NUM_INITIAL_IMAGES; i++)