From 3e0663a51676f7482a82c4b4afe24e4ee72b7787 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 5 Jun 2016 23:10:02 +0200 Subject: AGI: Clean up object initialization --- engines/agi/picture.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/agi/picture.cpp') diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp index a80e811f44..2b3bba89db 100644 --- a/engines/agi/picture.cpp +++ b/engines/agi/picture.cpp @@ -44,6 +44,8 @@ PictureMgr::PictureMgr(AgiBase *agi, GfxMgr *gfx) { _minCommand = 0xf0; _flags = 0; _currentStep = 0; + + _width = _height = 0; } void PictureMgr::putVirtPixel(int x, int y) { -- cgit v1.2.3