aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/wincursor.cpp3
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