修复错误保留Action对象指针的BUG

This commit is contained in:
Haibo 2018-05-27 01:29:10 +08:00
parent e7f0939030
commit 02c740be80
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,7 @@ e2d::Action::Action()
e2d::Action::~Action()
{
ActionManager::__remove(this);
}
bool e2d::Action::isRunning()
@ -53,7 +54,6 @@ e2d::Node * e2d::Action::getTarget()
void e2d::Action::onDestroy()
{
ActionManager::__remove(this);
}
void e2d::Action::reset()