diff options
-rw-r--r-- | engines/m4/mads_anim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/mads_anim.cpp b/engines/m4/mads_anim.cpp index 7709b65780..4400dbf094 100644 --- a/engines/m4/mads_anim.cpp +++ b/engines/m4/mads_anim.cpp @@ -578,7 +578,7 @@ void AnimviewView::readNextCommand() { _activeAnimation->load(_currentLine, 0); _backgroundSurface.loadBackground(_activeAnimation->roomNumber()); - _codeSurface.create(_backgroundSurface.width(), _backgroundSurface.height(), 1); + _codeSurface.setSize(_backgroundSurface.width(), _backgroundSurface.height()); _codeSurface.clear(); _spriteSlots.fullRefresh(); |