pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.21,1.22


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.21,1.22
Date: 4 Mar 2003 10:25:35 -0000

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

Modified Files:
        conveyor_belt.cxx 
Log Message:
fixed conveyor belt (it should move the pingu, not the belt. , also added 
editor GUI for it


Index: conveyor_belt.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/conveyor_belt.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- conveyor_belt.cxx   19 Feb 2003 09:50:36 -0000      1.21
+++ conveyor_belt.cxx   4 Mar 2003 10:25:32 -0000       1.22
@@ -82,7 +82,7 @@
          && (*pingu)->get_y() < data->pos.y + 10)
        {
          Vector pos = (*pingu)->get_pos();
-         data->pos.x -= data->speed * 0.025f;
+         pos.x -= data->speed * 0.025f;
          (*pingu)->set_pos(pos);
        }
     }





reply via email to

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