PINK: Clear actor actions after deleting them

This commit is contained in:
Filippos Karapetis 2020-02-28 22:18:27 +02:00
parent e8bc50e3f5
commit d8350221f0

View File

@ -38,6 +38,8 @@ Actor::~Actor() {
for (uint i = 0; i < _actions.size(); ++i) {
delete _actions[i];
}
_actions.clear();
}
void Actor::deserialize(Archive &archive) {