aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-01-16 12:31:55 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-01-16 12:31:55 -0500
commit1eced16d75322832617a1b42ec94580a9713e8f0 (patch)
tree0a7e142644e78065250d9a16359c94aac1986aaf /main.cpp
parent4b21a0fa4e6a7e35b7d9a01bbc0a7080dd392996 (diff)
parentf5039deffdf210f4765926dcaf6f8a3dfb591914 (diff)
Merge branch 'master' of https://github.com/tcsullivan/gamedev
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}