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.18,1.19


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions bridger.cxx,1.18,1.19
Date: 29 Sep 2002 20:45:33 -0000

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

Modified Files:
        bridger.cxx 
Log Message:
- fixed bug in the particle drawing
- 'fixed' bridger bug, well worked around it

Index: bridger.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bridger.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- bridger.cxx 28 Sep 2002 11:52:23 -0000      1.18
+++ bridger.cxx 29 Sep 2002 20:45:31 -0000      1.19
@@ -188,6 +188,7 @@
 bool
 Bridger::brick_placement_allowed(void)
 {
+#ifdef BRIDGER_HEAD_COLLISION_CHECK
   bool brick_allowed = true;
 
   // Don't allow a brick to be placed if a Pingu would have a head collision
@@ -203,6 +204,9 @@
     }
 
   return brick_allowed;
+#else
+  return !head_collision_on_walk(0, 2);
+#endif
 }
 
 void





reply via email to

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