修复跳伞后穿墙问题
This commit is contained in:
parent
4edd0168eb
commit
c0ae456792
@ -25,7 +25,9 @@ void InternalShot(Creature* c,
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (skill_id == 0) {
|
||||
c->room->frame_event.AddShot(c);
|
||||
}
|
||||
for (auto& tuple : weapon_meta->bullet_born_offset) {
|
||||
a8::Vec2 bullet_born_offset = a8::Vec2(std::get<0>(tuple), std::get<1>(tuple));
|
||||
bullet_born_offset.Rotate(c->attack_dir.CalcAngle(a8::Vec2::UP));
|
||||
|
@ -2180,10 +2180,12 @@ void Room::NotifyGameStart()
|
||||
if (buff_meta) {
|
||||
for (auto& pair : room->human_hash_) {
|
||||
a8::UnSetBitFlag(pair.second->status, HS_DisableAttack);
|
||||
#if 0
|
||||
pair.second->AddBuff(pair.second,
|
||||
buff_meta,
|
||||
1,
|
||||
nullptr);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user