pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,1.2,1.3
Date: 21 Jun 2002 07:45:38 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/backgrounds
In directory dark:/tmp/cvs-serv17968/src/backgrounds

Modified Files:
        starfield_background.cxx 
Log Message:
Some include fixes for win32

Index: starfield_background.cxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/backgrounds/starfield_background.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- starfield_background.cxx    13 Jun 2002 14:25:12 -0000      1.2
+++ starfield_background.cxx    21 Jun 2002 07:45:35 -0000      1.3
@@ -177,13 +177,15 @@
   middle_stars_count = data.middle_stars_count;
   large_stars_count  = data.large_stars_count;
 
-  for (int i=0; i < small_stars_count; i++)
+  int i = 0;
+
+  for (i=0; i < small_stars_count; i++)
     stars.push_back (StarfieldBackgroundStars 
(StarfieldBackgroundStars::SMALL_STAR));
 
-  for (int i=0; i < middle_stars_count; i++)
+  for (i=0; i < middle_stars_count; i++)
     stars.push_back (StarfieldBackgroundStars 
(StarfieldBackgroundStars::MIDDLE_STAR));
 
-  for (int i=0; i < large_stars_count; i++)
+  for (i=0; i < large_stars_count; i++)
     stars.push_back (StarfieldBackgroundStars 
(StarfieldBackgroundStars::LARGE_STAR));
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]