1
This commit is contained in:
parent
b2fd473db2
commit
a56ec3d945
@ -1925,16 +1925,9 @@ void Creature::SummonHero(Buff* buff,
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
glm::vec3 born_dir = dir;
|
||||
glm::vec3 born_offset(x, 0, y);
|
||||
// 999
|
||||
#if 0
|
||||
born_offset.Rotate(born_dir.CalcAngle(a8::Vec2::UP));
|
||||
born_offset.Rotate(i * 0.5);
|
||||
#endif
|
||||
// 999
|
||||
#if 1
|
||||
#else
|
||||
born_pos = pos + born_offset;
|
||||
#endif
|
||||
GlmHelper::RotateY(born_offset, i * 0.5);
|
||||
born_pos = GetPos();
|
||||
born_pos.AddGlmVec3(born_offset);
|
||||
can_create = TrySummonHero(hero_meta,
|
||||
dir,
|
||||
born_pos,
|
||||
|
Loading…
x
Reference in New Issue
Block a user