diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-01-16 12:31:55 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-01-16 12:31:55 -0500 |
commit | 1eced16d75322832617a1b42ec94580a9713e8f0 (patch) | |
tree | 0a7e142644e78065250d9a16359c94aac1986aaf /main.cpp | |
parent | 4b21a0fa4e6a7e35b7d9a01bbc0a7080dd392996 (diff) | |
parent | f5039deffdf210f4765926dcaf6f8a3dfb591914 (diff) |
Merge branch 'master' of https://github.com/tcsullivan/gamedev
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -955,7 +955,7 @@ void logic(){ for(auto &b : currentWorld->build){ switch(b->bsubtype){ case FOUNTAIN: - for(int r = 0; r < (rand()%20)+10;r++){ + for(int r = 0; r < (rand()%25)+10;r++){ currentWorld->addParticle(rand()%HLINE*3 + b->loc.x + b->width/2,b->loc.y + b->height, HLINE,HLINE, rand()%2 == 0?-(rand()%7)*.01:(rand()%7)*.01,((4+rand()%6)*.05), {0,0,1.0f}, 2500); currentWorld->particles.back()->fountain = true; } |