[Scummvm-git-logs] scummvm master -> 973e1e566706e0eea413d49fbea43b8296d5d23b
whiterandrek
whiterandrek at gmail.com
Sun Jul 8 19:21:01 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
973e1e5667 GRAPHICS: fixed creating cursor group from some old executables
Commit: 973e1e566706e0eea413d49fbea43b8296d5d23b
https://github.com/scummvm/scummvm/commit/973e1e566706e0eea413d49fbea43b8296d5d23b
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2018-07-08T20:20:54+03:00
Commit Message:
GRAPHICS: fixed creating cursor group from some old executables
Changed paths:
graphics/wincursor.cpp
diff --git a/graphics/wincursor.cpp b/graphics/wincursor.cpp
index 1d96114..897886c 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
More information about the Scummvm-git-logs
mailing list