[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.38,1.39
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.38,1.39 |
Date: |
25 Mar 2003 00:56:35 -0000 |
Update of /var/lib/cvs/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv31012/actions
Modified Files:
faller.cxx
Log Message:
gervases faller-slowdown patch
Index: faller.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/actions/faller.cxx,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- faller.cxx 18 Mar 2003 17:03:02 -0000 1.38
+++ faller.cxx 25 Mar 2003 00:56:33 -0000 1.39
@@ -26,6 +26,7 @@
#include "../movers/linear_mover.hxx"
#include "../pingu.hxx"
#include "../string_converter.hxx"
+#include "../world.hxx"
#include "../worldobj.hxx"
#include "faller.hxx"
@@ -64,7 +65,8 @@
return;
// Apply gravity
- pingu->set_velocity(pingu->get_velocity() + Vector(0.0f, 1.0f));
+ pingu->set_velocity(pingu->get_velocity()
+ + Vector(0.0f, WorldObj::get_world()->get_gravity()) );
bool collided;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.38,1.39,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.25,1.26 path_graph.cxx,1.18,1.19 pingus.cxx,1.27,1.28worldmap.cxx,1.33,1.34
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src pingu_enums.cxx,1.3,1.4 world.cxx,1.43,1.44 world.hxx,1.26,1.27
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.25,1.26 path_graph.cxx,1.18,1.19 pingus.cxx,1.27,1.28worldmap.cxx,1.33,1.34
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src pingu_enums.cxx,1.3,1.4 world.cxx,1.43,1.44 world.hxx,1.26,1.27
- Index(es):