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 bridger.cxx,1.21,1.22


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions bridger.cxx,1.21,1.22
Date: 7 Oct 2002 23:10:22 -0000

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

Modified Files:
        bridger.cxx 
Log Message:
little warrning & cleanup

Index: bridger.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bridger.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- bridger.cxx 4 Oct 2002 13:46:56 -0000       1.21
+++ bridger.cxx 7 Oct 2002 23:10:20 -0000       1.22
@@ -124,7 +124,7 @@
 void
 Bridger::update_walk ()
 {
-  if (walk_sprite.finished ())
+  if (walk_sprite.finished ()) // FIXME: Dangerous! might not be fixed timing
     {
       if (way_is_free())
        {
@@ -169,6 +169,7 @@
       else // Out of bricks
        {
          pingu->set_action(Actions::Waiter);
+          return;
        }     
     }
 





reply via email to

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