GRAPHICS: fixed creating cursor group from some old executables

This commit is contained in:
Andrei Prykhodko 2018-07-08 20:19:37 +03:00
parent c053ad3636
commit 973e1e5667

View File

@ -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