aboutsummaryrefslogtreecommitdiff
path: root/towernbullet.h
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-06 11:32:25 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-06 11:32:25 +0000
commitebdc44aea86a1fe7eace4dca91128675519171f6 (patch)
treec32b18dbd25abf530c2ffcca4e42cfa5eb28d54a /towernbullet.h
parentb3c3e0348f19125b5123d6f5c87e2cc91fd0172f (diff)
downloadbullet-lab-remix-ebdc44aea86a1fe7eace4dca91128675519171f6.tar.xz
New cgh interfage RandomEngine replacing rand(). Other small fixes.
Diffstat (limited to 'towernbullet.h')
-rw-r--r--towernbullet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/towernbullet.h b/towernbullet.h
index 38c55e4..b1104d3 100644
--- a/towernbullet.h
+++ b/towernbullet.h
@@ -793,7 +793,7 @@ void ProcessBullet255(int i)
double dis=GetDist(bullet[i].bulletpos,playerpos);
if (dis<=6||bullet[i].bulletpos.x<=-10||bullet[i].bulletpos.x>=800||bullet[i].bulletpos.y<=-10||bullet[i].bulletpos.y>=600)
{
- score+=mult*100;
+ score+=mult*100;mult+=0.001f;
bullet[i].exist=false;
bullet[i].bulletpos.x=bullet[i].bulletpos.y=0;
bullet[i].bulletdir.x=bullet[i].bulletdir.y=0;