mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
PINK: Clear actor actions after deleting them
This commit is contained in:
parent
e8bc50e3f5
commit
d8350221f0
@ -38,6 +38,8 @@ Actor::~Actor() {
|
||||
for (uint i = 0; i < _actions.size(); ++i) {
|
||||
delete _actions[i];
|
||||
}
|
||||
|
||||
_actions.clear();
|
||||
}
|
||||
|
||||
void Actor::deserialize(Archive &archive) {
|
||||
|
Loading…
Reference in New Issue
Block a user