diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-10-26 22:57:45 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-10-26 22:57:45 +0800 |
commit | 1981e9bc81e92f479c725e6ac60ff3bd419cefd0 (patch) | |
tree | 49074e0f7d4f75f659469ea9bf01cdcfa85a6f69 /src/core/bullet.cpp | |
parent | 3bd383baf6a17e734329e1fc677c7e86283db772 (diff) | |
download | bullet-lab-remix-1981e9bc81e92f479c725e6ac60ff3bd419cefd0.tar.xz |
Git and markdown sucks...
Diffstat (limited to 'src/core/bullet.cpp')
-rw-r--r-- | src/core/bullet.cpp | 1 |
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; |