1
This commit is contained in:
parent
fe40049710
commit
260a52154d
@ -304,12 +304,8 @@ void Buff::ProcSputteringFunc(Bullet* bullet)
|
||||
for (int i = 0; i < meta->_param4_int_list.size(); ++i) {
|
||||
glm::vec3 bullet_dir = GlmHelper::UP;
|
||||
GlmHelper::RotateY(bullet_dir, meta->_param4_int_list[i] / 180.f);
|
||||
// 999
|
||||
#if 1
|
||||
Position bullet_born_pos;
|
||||
#else
|
||||
a8::Vec2 bullet_born_pos = owner->GetPos() + bullet_dir * meta->param3;
|
||||
#endif
|
||||
Position bullet_born_pos = owner->GetPos();
|
||||
bullet_born_pos.AddGlmVec3(bullet_dir * meta->_param3);
|
||||
int bullet_uniid = owner->room->AllocUniid();
|
||||
owner->room->frame_event.AddBullet
|
||||
(bullet_uniid,
|
||||
|
Loading…
x
Reference in New Issue
Block a user