X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=688a63b7945d8650c328f2582e849a07d26e2fd1;hb=8458af9ed76d6194de77b184e4e1ba2041e6aa17;hp=c1a03a7cfa192fe29b80f1e9c93b47c5ae9f598f;hpb=a2f9307de12b6111ff7076fed2e4140619f1ac5d;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index c1a03a7c..688a63b7 100644 --- a/src/editor.c +++ b/src/editor.c @@ -1606,7 +1606,7 @@ static void ScrollMiniLevel(int from_x, int from_y, int scroll) static void CreateControlButtons() { - Bitmap *gd_bitmap = new_graphic_info[IMG_GLOBAL_DOOR].bitmap; + Bitmap *gd_bitmap = graphic_info[IMG_GLOBAL_DOOR].bitmap; struct GadgetInfo *gi; unsigned long event_mask; int i; @@ -1827,7 +1827,7 @@ static void CreateCounterButtons() for (j=0; j<2; j++) { - Bitmap *gd_bitmap = new_graphic_info[IMG_GLOBAL_DOOR].bitmap; + Bitmap *gd_bitmap = graphic_info[IMG_GLOBAL_DOOR].bitmap; struct GadgetInfo *gi; int id = (j == 0 ? counterbutton_info[i].gadget_id_down : @@ -2049,7 +2049,7 @@ static void CreateTextInputGadgets() for (i=0; i