aboutsummaryrefslogtreecommitdiff
path: root/src/core/bullet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bullet.cpp')
-rw-r--r--src/core/bullet.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/bullet.cpp b/src/core/bullet.cpp
index 15cfef0..0bcf2d9 100644
--- a/src/core/bullet.cpp
+++ b/src/core/bullet.cpp
@@ -54,7 +54,6 @@ void bulletBonus::update()
{
if(!exist)return;
vel=vel+acc;
- if(vel.l()>velim&&velim>0)vel=velim*vel.getNormalized();
pos=pos-vel;
if((pos-player->pos).l()<9)exist=false;