This commit is contained in:
aozhiwei 2019-04-22 16:30:58 +08:00
parent 0d1e52076b
commit 80e33a2341

View File

@ -461,7 +461,10 @@ void Player::Shot()
shot->set_offhand(true);
shot->set_bullskin(10001);
}
if (room->gas_data.gas_mode != GasInactive && room->gas_data.gas_mode != GasJump) {
if (room->gas_data.gas_mode != GasInactive &&
!a8::HasBitFlag(status, HS_Fly) &&
!a8::HasBitFlag(status, HS_Jump)
) {
for (auto& tuple : curr_weapon->meta->bullet_born_offset) {
Vector2D bullet_born_offset = Vector2D(std::get<0>(tuple), std::get<1>(tuple));
bullet_born_offset.Rotate(attack_dir.CalcAngle(Vector2D::UP));