diff options
Diffstat (limited to 'engines/lab/interface.cpp')
-rw-r--r-- | engines/lab/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/interface.cpp b/engines/lab/interface.cpp index 30aa5472a1..61cfc6c365 100644 --- a/engines/lab/interface.cpp +++ b/engines/lab/interface.cpp @@ -95,7 +95,7 @@ void drawGadgetList(Gadget *gadlist) { /* Dims a gadget, and makes it unavailable for using. */ /*****************************************************************************/ void disableGadget(Gadget *curgad, uint16 pencolor) { - g_lab->overlayRect(pencolor, curgad->x, curgad->y, curgad->x + curgad->_image->_width - 1, curgad->y + curgad->_image->_height - 1); + g_lab->_graphics->overlayRect(pencolor, curgad->x, curgad->y, curgad->x + curgad->_image->_width - 1, curgad->y + curgad->_image->_height - 1); curgad->GadgetFlags |= GADGETOFF; } |