* fixed initialization of gfx_element for level sketch image creation
+2008-06-16
+ * fixed initialization of gfx_element for level sketch image creation
+
2008-06-15
* added switch for EM style dynamite "[ ] explodes with chain reaction"
(with default set to "on" for existing levels, but "off" for all new
-#define COMPILE_DATE_STRING "2008-06-15 21:07"
+#define COMPILE_DATE_STRING "2008-06-16 01:12"
case EL_KEY_OBSOLETE:
element = EL_KEY_1;
+ break;
case EL_EM_KEY_1_FILE_OBSOLETE:
element = EL_EM_KEY_1;
Bitmap *bitmap2;
int i;
+ InitElementPropertiesGfxElement();
+
bitmap1 = CreateBitmap(TILEX, TILEY, DEFAULT_DEPTH);
bitmap2 = CreateBitmap(MINI_TILEX, MINI_TILEY, DEFAULT_DEPTH);
{
Bitmap *src_bitmap;
int src_x, src_y;
- int graphic = el2edimg(i);
+ int element = getMappedElement(i);
+ int graphic = el2edimg(element);
char basename1[16];
char basename2[16];
char *filename1;