1
This commit is contained in:
parent
0819b6095f
commit
a3ba1e2e71
@ -633,7 +633,7 @@ void CallFuncBuff::SummonHeroSpecDistance()
|
||||
int hero_id = meta->_int_buff_param2;
|
||||
float distance = meta->GetBuffParam3(this);
|
||||
if (!owner->dead || meta->dead_valid() != 0) {
|
||||
glm::vec3 born_pos;
|
||||
glm::vec3 born_pos = owner->GetPos().ToGlmVec3();
|
||||
Hero* hero = owner->SummonHero(this,
|
||||
born_pos,
|
||||
owner->GetAttackDir());
|
||||
@ -657,4 +657,5 @@ void CallFuncBuff::ClearSummonHero()
|
||||
{
|
||||
int hero_id = meta->_int_buff_param2;
|
||||
float hero_num = meta->GetBuffParam3(this);
|
||||
owner->RemoveSurplusHero(hero_id, hero_num);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user