diff options
author | Matthew Hoops | 2010-07-28 05:55:09 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-07-28 05:55:09 +0000 |
commit | 558fc88cc68b0c4780caed9ecd546187de46c662 (patch) | |
tree | 5ea1c7ba32b932f6adfd1e2d749176350f1fbf45 /engines/sci | |
parent | ea2256c05b500fb036101f0d99aed7a6ebe8b96e (diff) | |
download | scummvm-rg350-558fc88cc68b0c4780caed9ecd546187de46c662.tar.gz scummvm-rg350-558fc88cc68b0c4780caed9ecd546187de46c662.tar.bz2 scummvm-rg350-558fc88cc68b0c4780caed9ecd546187de46c662.zip |
SCI: Initialize _resourceData to 0 in GfxRobot. Fixes PQSWAT demo.
svn-id: r51404
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/robot.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/graphics/robot.cpp b/engines/sci/graphics/robot.cpp index 352dc8177c..1572a0a9ec 100644 --- a/engines/sci/graphics/robot.cpp +++ b/engines/sci/graphics/robot.cpp @@ -37,6 +37,7 @@ GfxRobot::GfxRobot(ResourceManager *resMan, GfxScreen *screen, GuiResourceId res : _resMan(resMan), _screen(screen), _resourceId(resourceId) { assert(resourceId != -1); initData(resourceId); + _resourceData = 0; } GfxRobot::~GfxRobot() { |