1
This commit is contained in:
parent
0749af9a51
commit
1b6ce671ce
@ -18,6 +18,9 @@ Hero::Hero():Creature()
|
|||||||
|
|
||||||
Hero::~Hero()
|
Hero::~Hero()
|
||||||
{
|
{
|
||||||
|
if (ai) {
|
||||||
|
A8_SAFE_DELETE(ai);
|
||||||
|
}
|
||||||
--PerfMonitor::Instance()->entity_num[ET_Hero];
|
--PerfMonitor::Instance()->entity_num[ET_Hero];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user