modif des degats
This commit is contained in:
parent
602bb84428
commit
9b0c4dc594
@ -9,7 +9,7 @@ Bullet::~Bullet() {}
|
|||||||
|
|
||||||
bool Bullet::Update(World* world, float elapsedtime, int perframe, std::map<uint64_t, Player*> mapPlayer) {
|
bool Bullet::Update(World* world, float elapsedtime, int perframe, std::map<uint64_t, Player*> mapPlayer) {
|
||||||
int max = 100 / perframe;
|
int max = 100 / perframe;
|
||||||
float damage = 0.57f;
|
float damage = 0.057f;
|
||||||
for (int x = 0; x < max; ++x) {
|
for (int x = 0; x < max; ++x) {
|
||||||
m_currentpos += m_velocity * elapsedtime;
|
m_currentpos += m_velocity * elapsedtime;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user