1
This commit is contained in:
parent
718bc1b137
commit
b2fd473db2
@ -468,13 +468,9 @@ void RoomObstacle::ActiveAirDrop()
|
||||
{
|
||||
const mt::MapThing* thing_meta = meta;
|
||||
if (thing_meta && thing_meta->summon_born_rad() > 0) {
|
||||
a8::Vec2 born_dir = a8::Vec2::UP;
|
||||
born_dir.Rotate(GetUniId());
|
||||
// 999
|
||||
#if 1
|
||||
#else
|
||||
born_pos = born_pos + born_dir * thing_meta->summon_born_rad();
|
||||
#endif
|
||||
glm::vec3 born_dir = GlmHelper::UP;
|
||||
GlmHelper::RotateY(born_dir, GetUniId());
|
||||
born_pos.AddGlmVec3(born_dir * (float)(thing_meta->summon_born_rad()));
|
||||
}
|
||||
}
|
||||
room->frame_event.AddAirDrop(delay_time,
|
||||
|
Loading…
x
Reference in New Issue
Block a user