summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-02-24 00:53:29 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-02-24 00:53:29 +0000
commit8cb1a0f4fcf8e7ecd54134e8d6f431b613c69091 (patch)
treea48629d27e5b810fff9759d019b3fa601520fc18
parent4e7926b47a2fd3d9a70d104056f91e963e611e46 (diff)
downloadbullet-lab-remix-8cb1a0f4fcf8e7ecd54134e8d6f431b613c69091.tar.xz
M trunk/towernbullet.h
-rw-r--r--towernbullet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/towernbullet.h b/towernbullet.h
index 395c8ed..7dad226 100644
--- a/towernbullet.h
+++ b/towernbullet.h
@@ -1753,7 +1753,7 @@ struct SimpleBullet
}
if (lastcoll>=200)lastcoll=0;
if (scollable>=200)scollable=0;
- if (aC==COLOR_COUNT)bulletspr[aC]->RenderEx(bulletpos.x+7.2,bulletpos.y+7.2,0,0.6,0);//blink hack
+ if (aC2==COLOR_COUNT)bulletspr[aC]->RenderEx(bulletpos.x+7.2,bulletpos.y+7.2,0,0.6,0);//blink hack
else RenderAlter(vector2d(bulletpos.x+7.2,bulletpos.y+7.2),aC,aC2,rot,0.6);
double dis=GetDist(bulletpos,playerpos);
if (dis<=6&&clrrange<1e-5&&clrrad-pi/2<1e-7&&!lastcoll)