From f5039deffdf210f4765926dcaf6f8a3dfb591914 Mon Sep 17 00:00:00 2001 From: drumsetmonkey <abelleisle@roadrunner.com> Date: Thu, 14 Jan 2016 08:17:43 -0500 Subject: Particles are drawn inside --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 7386186..7487e4c 100644 --- a/main.cpp +++ b/main.cpp @@ -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; } -- cgit v1.2.3