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 blocker.cxx,1.19,1.20


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions blocker.cxx,1.19,1.20
Date: 16 Aug 2003 18:37:45 -0000

Update of /var/lib/cvs/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv8148/actions

Modified Files:
        blocker.cxx 
Log Message:
activated blocker animation


Index: blocker.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/actions/blocker.cxx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- blocker.cxx 19 Apr 2003 10:23:18 -0000      1.19
+++ blocker.cxx 16 Aug 2003 18:37:43 -0000      1.20
@@ -30,7 +30,7 @@
 
 Blocker::Blocker(Pingu* p)
   : PinguAction(p),
-    sprite(PingusResource::load_surface("Pingus/blocker" + 
to_string(pingu->get_owner()), "pingus"))
+    sprite(PingusResource::load_surface("Pingus/blocker" + 
to_string(pingu->get_owner()), "pingus"), 6.0f)
 {
   sprite.set_align_center_bottom();
 
@@ -59,10 +59,11 @@
       // FIXME: PinguHolder iterations should be handled otherwise
       PinguHolder* pingus = WorldObj::get_world()->get_pingus();
       for(PinguIter i = pingus->begin(); i != pingus->end(); ++i)
-       {
-         catch_pingu(*i);
-       }
+        {
+          catch_pingu(*i);
+             }
     }
+  sprite.update();
 }
 
 void





reply via email to

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