diff options
author | Andrei Prykhodko | 2018-07-08 20:19:37 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-07-08 20:20:54 +0300 |
commit | 973e1e566706e0eea413d49fbea43b8296d5d23b (patch) | |
tree | 2c9dd42d164188d57b9c7120b1ff31c1c57caabb /graphics/wincursor.cpp | |
parent | c053ad3636039be8ed5af9c0cf0f3038e266a968 (diff) | |
download | scummvm-rg350-973e1e566706e0eea413d49fbea43b8296d5d23b.tar.gz scummvm-rg350-973e1e566706e0eea413d49fbea43b8296d5d23b.tar.bz2 scummvm-rg350-973e1e566706e0eea413d49fbea43b8296d5d23b.zip |
GRAPHICS: fixed creating cursor group from some old executables
Diffstat (limited to 'graphics/wincursor.cpp')
-rw-r--r-- | graphics/wincursor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/wincursor.cpp b/graphics/wincursor.cpp index 1d96114673..897886cbd6 100644 --- a/graphics/wincursor.cpp +++ b/graphics/wincursor.cpp @@ -318,8 +318,7 @@ WinCursorGroup *WinCursorGroup::createCursorGroup(Common::PEResources &exe, cons // Plane count if (stream->readUint16LE() != 1) { - delete group; - return 0; + warning("PlaneCount is not 1."); } stream->readUint16LE(); // bits per pixel |