pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/particles particle_holder.cxx,1.3,1.4


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/particles particle_holder.cxx,1.3,1.4
Date: 4 Sep 2002 19:40:22 -0000

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

Modified Files:
        particle_holder.cxx 
Log Message:
some more GC adds

Index: particle_holder.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/particles/particle_holder.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- particle_holder.cxx 4 Sep 2002 17:49:48 -0000       1.3
+++ particle_holder.cxx 4 Sep 2002 19:40:20 -0000       1.4
@@ -66,7 +66,10 @@
 {
   for(std::list<Particle*>::iterator i = this->begin(); i != this->end(); ++i) 
     { 
-      (*i)->draw_offset (int(gc.get_x_offset ()), int(gc.get_y_offset ()), 
gc.get_zoom ());
+      // FIXME: ugly... should use gc instead
+      (*i)->draw_offset (int(gc.get_x_offset () + (gc.get_width ()/2)), 
+                        int(gc.get_y_offset () + (gc.get_height ()/2)), 
+                        gc.get_zoom ());
     }
 }
 





reply via email to

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