子弹ok
This commit is contained in:
parent
968af87045
commit
95600be400
@ -235,8 +235,8 @@ void InternalShot(Creature* c,
|
|||||||
bullet_born_angle,
|
bullet_born_angle,
|
||||||
c->GetAttackDir().x,
|
c->GetAttackDir().x,
|
||||||
c->GetAttackDir().y,
|
c->GetAttackDir().y,
|
||||||
(bullet_born_angle * A8_PI) / 3.14 *180,
|
(bullet_born_angle * 180),
|
||||||
(bullet_born_angle * A8_PI - glm::radians(90.0f)) / 3.14 *180
|
(bullet_born_angle - glm::radians(90.0f) / A8_PI) * 180
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -488,6 +488,16 @@ namespace MetaData
|
|||||||
a8::SetBitFlag(special_damage_type, n);
|
a8::SetBitFlag(special_damage_type, n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG
|
||||||
|
{
|
||||||
|
gun_muzzle_position = std::make_shared<std::tuple<float, float, float>>
|
||||||
|
(
|
||||||
|
0.8,
|
||||||
|
3.1,
|
||||||
|
3.0
|
||||||
|
);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Equip::Init2()
|
void Equip::Init2()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user