pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.16,1.17


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.16,1.17
Date: 6 Oct 2002 23:14:35 -0000

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

Modified Files:
        bomber.cxx 
Log Message:
cleanup 

Index: bomber.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bomber.cxx,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- bomber.cxx  6 Oct 2002 17:02:19 -0000       1.16
+++ bomber.cxx  6 Oct 2002 23:14:33 -0000       1.17
@@ -34,10 +34,11 @@
 CL_Surface Bomber::bomber_radius;
 CL_Surface Bomber::bomber_radius_gfx;
 
-Bomber::Bomber () : particle_thrown(false),
-                    sound_played(false), 
-                    gfx_exploded(false),
-                    colmap_exploded(false)
+Bomber::Bomber () 
+  : particle_thrown(false),
+    sound_played(false), 
+    gfx_exploded(false),
+    colmap_exploded(false)
 {
 }
 
@@ -71,8 +72,7 @@
 {
   if (sprite.get_frame () >= 13 && !gfx_exploded) 
     {
-      gc.draw (explo_surf, Vector(static_cast<int>(pingu->get_x () - 32), 
-                                    static_cast<int>(pingu->get_y () - 48)));
+      gc.draw (explo_surf, Vector(pingu->get_x () - 32, pingu->get_y () - 48));
       gfx_exploded = true;
     }
 





reply via email to

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