rnd-20140305-1-src
[rocksndiamonds.git] / src / game.c
index 7d57f3f7565a7645551f99edfea2b59809f8abea..cc32a2f4180582396ddeab1ca46c87f7356e19eb 100644 (file)
@@ -16848,8 +16848,8 @@ void CreateGameButtons()
 
     gi = CreateGadget(GDI_CUSTOM_ID, id,
                      GDI_INFO_TEXT, gamebutton_info[i].infotext,
-                     GDI_X, DX + pos->x,
-                     GDI_Y, DY + pos->y,
+                     GDI_X, DX + GDI_ACTIVE_POS(pos->x),
+                     GDI_Y, DY + GDI_ACTIVE_POS(pos->y),
                      GDI_WIDTH, gfx->width,
                      GDI_HEIGHT, gfx->height,
                      GDI_TYPE, button_type,