diff --git a/engines/wage/macmenu.cpp b/engines/wage/macmenu.cpp index a97e442c83c..ed5f5070ffd 100644 --- a/engines/wage/macmenu.cpp +++ b/engines/wage/macmenu.cpp @@ -104,6 +104,9 @@ Menu::Menu(int id, const Common::Rect &bounds, MacWindowManager *wm) _activeItem = -1; _activeSubItem = -1; + _ccallback = NULL; + _cdata = NULL; + _tempSurface.create(_screen.w, _font->getFontHeight(), Graphics::PixelFormat::createFormatCLUT8()); } diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp index 7ff0f57ccb0..8903936061d 100644 --- a/engines/wage/macwindow.cpp +++ b/engines/wage/macwindow.cpp @@ -76,6 +76,8 @@ MacWindow::MacWindow(int id, bool scrollable, bool resizable, bool editable, Mac _beingDragged = false; _beingResized = false; + _draggedX = _draggedY = 0; + _type = kWindowWindow; }