This commit is contained in:
aozhiwei 2023-03-30 12:10:38 +08:00
parent 63840e4eac
commit 5bbdbbf21b

View File

@ -1668,20 +1668,16 @@ Hero* Creature::SummonHero(Buff* buff,
const glm::vec3& dir
)
{
#if 0
const mt::Hero* hero_meta = mt::Hero::GetById(buff->meta->_int_buff_param1);
Hero* hero = nullptr;
const mt::Hero* hero_meta = mt::Hero::GetById(buff->meta->_int_buff_param2);
if (hero_meta) {
int life_time = 10000;
bool through_wall = false;
InternalSummonHero(buff,
hero_meta,
GetAttackDir(),
pos,
through_wall,
1,
life_time);
hero = InternalSummonHero(buff,
hero_meta,
GetAttackDir(),
pos
);
}
#endif
return hero;
}
bool Creature::FreezeOperate()