[Scummvm-git-logs] scummvm master -> 9cc5d3ce3583a7ebab02afecf82a6c7eff1c97d2
aquadran
noreply at scummvm.org
Tue Jul 22 21:52:37 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:
9cc5d3ce35 WINTERMUTE: Small sync with original on ad_geom_ext
Commit: 9cc5d3ce3583a7ebab02afecf82a6c7eff1c97d2
https://github.com/scummvm/scummvm/commit/9cc5d3ce3583a7ebab02afecf82a6c7eff1c97d2
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-07-22T23:52:32+02:00
Commit Message:
WINTERMUTE: Small sync with original on ad_geom_ext
Changed paths:
engines/wintermute/ad/ad_geom_ext.cpp
diff --git a/engines/wintermute/ad/ad_geom_ext.cpp b/engines/wintermute/ad/ad_geom_ext.cpp
index e432aadd54f..7cb20f7c075 100644
--- a/engines/wintermute/ad/ad_geom_ext.cpp
+++ b/engines/wintermute/ad/ad_geom_ext.cpp
@@ -41,8 +41,9 @@ AdGeomExt::AdGeomExt(BaseGame *in_gameRef) : BaseClass(in_gameRef) {
//////////////////////////////////////////////////////////////////////////
AdGeomExt::~AdGeomExt() {
- for (uint i = 0; i < _nodes.getSize(); i++) {
+ for (uint32 i = 0; i < _nodes.getSize(); i++) {
delete _nodes[i];
+ _nodes[i] = nullptr;
}
_nodes.removeAll();
}
@@ -144,7 +145,7 @@ AdGeomExtNode *AdGeomExt::matchName(const char *name) {
return nullptr;
}
- for (uint i = 0; i < _nodes.getSize(); i++) {
+ for (uint32 i = 0; i < _nodes.getSize(); i++) {
if (_nodes[i]->matchesName(name)) {
return _nodes[i];
}
More information about the Scummvm-git-logs
mailing list