pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src pingu.cxx,1.2,1.3


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src pingu.cxx,1.2,1.3
Date: 19 Jun 2002 17:19:43 -0000

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

Modified Files:
        pingu.cxx 
Log Message:
- do nothing if Pingu is dead
- reactivated check for out of screen so that Pingus can't walk the bottom
line anymore


Index: pingu.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/pingu.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pingu.cxx   13 Jun 2002 14:25:12 -0000      1.2
+++ pingu.cxx   19 Jun 2002 17:19:41 -0000      1.3
@@ -273,6 +273,8 @@
 Pingu::update(float delta)
 {
   if (status == PS_DEAD)
+    return;
+
   // FIXME: Out of screen check is ugly
   /** The Pingu has hit the edge of the screen, a good time to let him
       die. */




reply via email to

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