diff options
Diffstat (limited to 'engines/mads/dialogs.cpp')
-rw-r--r-- | engines/mads/dialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/dialogs.cpp b/engines/mads/dialogs.cpp index c865e048da..e4c7682a38 100644 --- a/engines/mads/dialogs.cpp +++ b/engines/mads/dialogs.cpp @@ -39,7 +39,7 @@ Dialog::~Dialog() { void Dialog::save(MSurface *s) { - _savedSurface = MSurface::init(_width, _height); + _savedSurface = new MSurface(_width, _height); s->copyTo(_savedSurface, Common::Rect(_position.x, _position.y, _position.x + _width, _position.y + _height), Common::Point()); |