fixed bug with copying bitmaps when remapping 'global.door' graphics
[rocksndiamonds.git] / src / init.c
index 74ea88a03a9674cb7ad05e75920d1b4d7ac7d38c..4314580ed26c259266d131275d902e1bb0295a4d 100644 (file)
@@ -1785,7 +1785,8 @@ static void InitGraphicCompatibilityInfo()
        {
          // printf("::: special treatment needed for token '%s'\n", fi->token);
 
        {
          // printf("::: special treatment needed for token '%s'\n", fi->token);
 
-         graphic_info[i].bitmap = graphic_info[IMG_GLOBAL_DOOR].bitmap;
+         graphic_info[i].bitmaps = graphic_info[IMG_GLOBAL_DOOR].bitmaps;
+         graphic_info[i].bitmap  = graphic_info[IMG_GLOBAL_DOOR].bitmap;
        }
       }
     }
        }
       }
     }