# HG changeset patch # User saiam # Date 1228434197 0 # Node ID a1fe1a93ba5a3213861b1a9fa0a82502386c3ea3 # Parent 905028e58ed1e70521c0934b3f40a522d2418ac3 Ammukset on coolimpii ku ne lent?? hitaammin diff -r 905028e58ed1 -r a1fe1a93ba5a src/Player.cc --- a/src/Player.cc Thu Dec 04 23:28:52 2008 +0000 +++ b/src/Player.cc Thu Dec 04 23:43:17 2008 +0000 @@ -26,7 +26,7 @@ reloadTimer += 0; Vector unitVectorAim = facingRight ? Vector(std::cos(aim), -std::sin(aim)) : Vector(-std::cos(aim), -std::sin(aim)); - float shotspeed = 100*PHYSICS_TICK_MS; + float shotspeed = 100*PHYSICS_TICK_MS/2; Vector shotRelativeVelocity = unitVectorAim * shotspeed; Vector shotVelocity = this->velocity + shotRelativeVelocity; new Projectile(this->state, this->position, shotVelocity, true);