From 973e1e566706e0eea413d49fbea43b8296d5d23b Mon Sep 17 00:00:00 2001 From: Andrei Prykhodko Date: Sun, 8 Jul 2018 20:19:37 +0300 Subject: GRAPHICS: fixed creating cursor group from some old executables --- graphics/wincursor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'graphics/wincursor.cpp') 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 -- cgit v1.2.3