diff options
author | Eugene Sandulenko | 2016-06-05 23:10:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-06-05 23:10:20 +0200 |
commit | 3e0663a51676f7482a82c4b4afe24e4ee72b7787 (patch) | |
tree | e96a53127d0cd10b44ed193d8c24be3106fecfdf /engines/agi/picture.cpp | |
parent | 786780ccb905277445b5d17d47fdc6669005bfb8 (diff) | |
download | scummvm-rg350-3e0663a51676f7482a82c4b4afe24e4ee72b7787.tar.gz scummvm-rg350-3e0663a51676f7482a82c4b4afe24e4ee72b7787.tar.bz2 scummvm-rg350-3e0663a51676f7482a82c4b4afe24e4ee72b7787.zip |
AGI: Clean up object initialization
Diffstat (limited to 'engines/agi/picture.cpp')
-rw-r--r-- | engines/agi/picture.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |