1
This commit is contained in:
parent
0d1e52076b
commit
80e33a2341
@ -461,7 +461,10 @@ void Player::Shot()
|
|||||||
shot->set_offhand(true);
|
shot->set_offhand(true);
|
||||||
shot->set_bullskin(10001);
|
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) {
|
for (auto& tuple : curr_weapon->meta->bullet_born_offset) {
|
||||||
Vector2D bullet_born_offset = Vector2D(std::get<0>(tuple), std::get<1>(tuple));
|
Vector2D bullet_born_offset = Vector2D(std::get<0>(tuple), std::get<1>(tuple));
|
||||||
bullet_born_offset.Rotate(attack_dir.CalcAngle(Vector2D::UP));
|
bullet_born_offset.Rotate(attack_dir.CalcAngle(Vector2D::UP));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user