This commit is contained in:
aozhiwei 2021-04-20 20:00:44 +08:00
parent 0749af9a51
commit 1b6ce671ce

View File

@ -18,6 +18,9 @@ Hero::Hero():Creature()
Hero::~Hero()
{
if (ai) {
A8_SAFE_DELETE(ai);
}
--PerfMonitor::Instance()->entity_num[ET_Hero];
}