diff options
author | Filippos Karapetis | 2011-01-30 21:00:23 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-30 21:00:23 +0000 |
commit | b7362876dd72ba5889cb5c6e12e1ff4e6e8f9c28 (patch) | |
tree | 4db6475284d6ba8a63048eed672547399ab6a6e7 /engines/sword25/gfx/renderobject.cpp | |
parent | d4e1260b7e8363fba9e920ba2f3e301a26b86239 (diff) | |
download | scummvm-rg350-b7362876dd72ba5889cb5c6e12e1ff4e6e8f9c28.tar.gz scummvm-rg350-b7362876dd72ba5889cb5c6e12e1ff4e6e8f9c28.tar.bz2 scummvm-rg350-b7362876dd72ba5889cb5c6e12e1ff4e6e8f9c28.zip |
SWORD25: Disabled the video save/load code, and made it error out instead.
Videos are never saved or loaded, thus when this happens, it probably indicates a game bug
or a corrupted saved game
svn-id: r55667
Diffstat (limited to 'engines/sword25/gfx/renderobject.cpp')
-rw-r--r-- | engines/sword25/gfx/renderobject.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sword25/gfx/renderobject.cpp b/engines/sword25/gfx/renderobject.cpp index 4b9555731d..b044d906f3 100644 --- a/engines/sword25/gfx/renderobject.cpp +++ b/engines/sword25/gfx/renderobject.cpp @@ -486,7 +486,9 @@ RenderObjectPtr<RenderObject> RenderObject::recreatePersistedRenderObject(InputP break; case TYPE_DYNAMICBITMAP: - result = (new DynamicBitmap(reader, this->getHandle(), handle))->getHandle(); + // Videos are not normally saved: this probably indicates a bug, thus die here. + //result = (new DynamicBitmap(reader, this->getHandle(), handle))->getHandle(); + error("Request to recreate a video. This is either a corrupted saved game, or a bug"); break; case TYPE_TEXT: |