]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/particles.cpp
Don't link pak tool with SDL.
[quix0rs-blobwars.git] / src / particles.cpp
old mode 100755 (executable)
new mode 100644 (file)
index f924dd2..bf54aa1
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -25,18 +25,18 @@ void addWindParticles()
        int c = graphics.white;
        float x, y, dx, dy;
        
-       if (player.x < 320)
-       {
-               x = Math::rrand(-100, 700);
-       }
-       else
-       {
-               x = player.x + Math::rrand(-450, 450);
-       }
-       
+
        for (int i = 0 ; i < 50 ; i++)
        {
-               
+               if (player.x < 320)
+               {
+                       x = Math::rrand(-100, 700);
+               }
+               else
+               {
+                       x = player.x + Math::rrand(-450, 450);
+               }
+                       
                c = Math::prand() % 4;
                switch (c)
                {