summaryrefslogtreecommitdiff
path: root/towernbullet.h
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-14 08:13:15 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-14 08:13:15 +0000
commitf2ce3ddfcb72fc3026ba85bd41849fa1886877e4 (patch)
treedb8394827401d08d770a018e72dd83fc1faa2b91 /towernbullet.h
parentf9be9921e9c345549f7d506262dfde19bcc72088 (diff)
downloadbullet-lab-remix-f2ce3ddfcb72fc3026ba85bd41849fa1886877e4.tar.xz
Extend the wiki page, finish the new level.
Diffstat (limited to 'towernbullet.h')
-rw-r--r--towernbullet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/towernbullet.h b/towernbullet.h
index 7331f9d..5bf3226 100644
--- a/towernbullet.h
+++ b/towernbullet.h
@@ -2612,9 +2612,9 @@ public:
bool done=true;
for (int i=0;i<100;++i)
{
- if(ylw[i]&&ylw[i]->lifetime>2&&!dirdone[i])
+ if(ylw[i]&&ylw[i]->lifetime>2&&!dirdone[i]&&ylw[i]->alterColor==yellow)
ylw[i]->redir(playerpos),dirdone[i]=true;
- if(ylw[i]&&ylw[i]->lifetime>5)
+ if(ylw[i]&&ylw[i]->lifetime>5&&ylw[i]->alterColor==yellow)
{
int cc=re.NextInt(0,5);
for(int j=0;j<cc;++j)