This commit is contained in:
aozhiwei 2022-12-28 16:06:55 +08:00
parent 0c190fe170
commit 53a970b8bf

View File

@ -2168,6 +2168,7 @@ void Creature::SummonObstacle(Buff* buff, int id, const Position& target_pos)
if (!GlmHelper::IsZero(GetAttackDir())) { if (!GlmHelper::IsZero(GetAttackDir())) {
// 999 // 999
#if 1 #if 1
pos.AddGlmVec3(GetAttackDir() * 100.0f);
#else #else
pos = target_pos + GetAttackDir() * 100; pos = target_pos + GetAttackDir() * 100;
#endif #endif