[Scummvm-git-logs] scummvm master -> 3f986ccd7e2bc3f535e27290036d34448683b975

bluegr noreply at scummvm.org
Thu Aug 6 08:09:27 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
3f986ccd7e NANCY: move instead of copy surface


Commit: 3f986ccd7e2bc3f535e27290036d34448683b975
    https://github.com/scummvm/scummvm/commit/3f986ccd7e2bc3f535e27290036d34448683b975
Author: Michael Kuerbis (michael_kuerbis at web.de)
Date: 2026-08-06T11:09:21+03:00

Commit Message:
NANCY: move instead of copy surface

Changed paths:
    engines/nancy/action/puzzle/drivingpuzzle.cpp


diff --git a/engines/nancy/action/puzzle/drivingpuzzle.cpp b/engines/nancy/action/puzzle/drivingpuzzle.cpp
index 7a1b0ce963e..cd66be16c15 100644
--- a/engines/nancy/action/puzzle/drivingpuzzle.cpp
+++ b/engines/nancy/action/puzzle/drivingpuzzle.cpp
@@ -324,7 +324,7 @@ int DrivingPuzzle::overlayImageIndex(const Common::String &name) {
 	}
 	surf.setTransparentColor(_drawSurface.getTransparentColor());
 
-	_overlayImages.push_back(surf);
+	_overlayImages.push_back(Common::move(surf));
 	_overlayImageNames.push_back(name);
 	return (int)_overlayImages.size() - 1;
 }




More information about the Scummvm-git-logs mailing list