pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/input axis_pointer.cxx,1.5,1.6 multip


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/input axis_pointer.cxx,1.5,1.6 multiple_pointer.cxx,1.3,1.4
Date: 12 Aug 2002 22:52:06 -0000

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

Modified Files:
        axis_pointer.cxx multiple_pointer.cxx 
Log Message:
commited albertos patch

Index: axis_pointer.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axis_pointer.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- axis_pointer.cxx    11 Jul 2002 14:51:10 -0000      1.5
+++ axis_pointer.cxx    12 Aug 2002 22:52:04 -0000      1.6
@@ -18,6 +18,7 @@
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include <math.h>
+#include <assert.h>
 #include "axis.hxx"
 #include "axis_pointer.hxx"
 

Index: multiple_pointer.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/multiple_pointer.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- multiple_pointer.cxx        11 Jul 2002 14:51:10 -0000      1.3
+++ multiple_pointer.cxx        12 Aug 2002 22:52:04 -0000      1.4
@@ -82,8 +82,8 @@
     if ( ! do_break)
       return;
                  
-    for (unsigned int i = 0; i < pointers.size(); i++)
-      pointers[i]->set_pos(x_pos, y_pos);
+    for (unsigned int n = 0; n < pointers.size(); n++)
+      pointers[n]->set_pos(x_pos, y_pos);
   }
 
 }





reply via email to

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