[Scummvm-git-logs] scummvm master -> b5c807b459d320e5e1489579a447e469c7e41f37

whiterandrek whiterandrek at gmail.com
Thu Jun 4 18:28:11 UTC 2020


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:
b5c807b459 PINK: no sense in clearing array of actions in actor dtor


Commit: b5c807b459d320e5e1489579a447e469c7e41f37
    https://github.com/scummvm/scummvm/commit/b5c807b459d320e5e1489579a447e469c7e41f37
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2020-06-04T21:24:59+03:00

Commit Message:
PINK: no sense in clearing array of actions in actor dtor

Changed paths:
    engines/pink/objects/actors/actor.cpp


diff --git a/engines/pink/objects/actors/actor.cpp b/engines/pink/objects/actors/actor.cpp
index 747dc7b7ca..2b1a95eefd 100644
--- a/engines/pink/objects/actors/actor.cpp
+++ b/engines/pink/objects/actors/actor.cpp
@@ -38,8 +38,6 @@ Actor::~Actor() {
 	for (uint i = 0; i < _actions.size(); ++i) {
 		delete _actions[i];
 	}
-
-	_actions.clear();
 }
 
 void Actor::deserialize(Archive &archive) {




More information about the Scummvm-git-logs mailing list