[Scummvm-git-logs] scummvm master -> 351c35862dd24e22de40e73f1bff9bc9b92d99fb
bluegr
noreply at scummvm.org
Fri Oct 3 18:17:23 UTC 2025
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:
351c35862d NANCY: Use array-delete in tangram puzzle
Commit: 351c35862dd24e22de40e73f1bff9bc9b92d99fb
https://github.com/scummvm/scummvm/commit/351c35862dd24e22de40e73f1bff9bc9b92d99fb
Author: tunnelsociety (150493071+tunnelsociety at users.noreply.github.com)
Date: 2025-10-03T21:17:19+03:00
Commit Message:
NANCY: Use array-delete in tangram puzzle
Changed paths:
engines/nancy/action/puzzle/tangrampuzzle.cpp
diff --git a/engines/nancy/action/puzzle/tangrampuzzle.cpp b/engines/nancy/action/puzzle/tangrampuzzle.cpp
index 534577ce83b..50e7469151b 100644
--- a/engines/nancy/action/puzzle/tangrampuzzle.cpp
+++ b/engines/nancy/action/puzzle/tangrampuzzle.cpp
@@ -418,7 +418,7 @@ bool TangramPuzzle::checkBuffer(const Tile &tile) const {
TangramPuzzle::Tile::Tile() : _mask(nullptr), _id(0), _rotation(0), _isHighlighted(false) {}
TangramPuzzle::Tile::~Tile() {
- delete _mask;
+ delete[] _mask;
}
void TangramPuzzle::Tile::drawMask() {
More information about the Scummvm-git-logs
mailing list