[Top][All Lists]
[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);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.21,1.22,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap level_dot.cxx,1.9,1.10
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs conveyor_belt_obj.cxx,1.5,1.6 conveyor_belt_obj.hxx,1.6,1.7
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap level_dot.cxx,1.9,1.10
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs conveyor_belt_obj.cxx,1.5,1.6 conveyor_belt_obj.hxx,1.6,1.7
- Index(es):