diff options
author | Matthew Hoops | 2011-02-04 23:03:05 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-02-04 23:03:05 +0000 |
commit | 4a4a6cd585e25eaec364ca3df33c47afe48c5b66 (patch) | |
tree | 168223dfb1ce32a282eeea56be9a80c3d4936e05 /engines | |
parent | 118ee375db7d2ed5504ba95ff0d345100f51e87f (diff) | |
download | scummvm-rg350-4a4a6cd585e25eaec364ca3df33c47afe48c5b66.tar.gz scummvm-rg350-4a4a6cd585e25eaec364ca3df33c47afe48c5b66.tar.bz2 scummvm-rg350-4a4a6cd585e25eaec364ca3df33c47afe48c5b66.zip |
SCI: Properly initialize a Robot variable so we don't segfault on quitting
svn-id: r55776
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/robot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/robot.cpp b/engines/sci/graphics/robot.cpp index 0d2142ebde..f04609d6de 100644 --- a/engines/sci/graphics/robot.cpp +++ b/engines/sci/graphics/robot.cpp @@ -64,7 +64,7 @@ namespace Sci { GfxRobot::GfxRobot(ResourceManager *resMan, GfxScreen *screen, GfxPalette *palette) : _resMan(resMan), _screen(screen), _palette(palette), _outputBuffer(0), - _outputBufferSize(0), _audioStream(0) { + _outputBufferSize(0), _audioStream(0), _frameTotalSize(0) { _resourceId = -1; _x = _y = 0; } |