Update of /cvsroot/super-tux/supertux/src/badguy
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29401/src/badguy
Modified Files:
nolok_01.cpp
Log Message:
small fixes (timing and animation) on nolok
Index: nolok_01.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/badguy/nolok_01.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- nolok_01.cpp 25 Nov 2004 16:22:05 -0000 1.5
+++ nolok_01.cpp 26 Nov 2004 17:08:53 -0000 1.6
@@ -6,7 +6,7 @@
#define WALK_TIME 2.5
#define SHOOT_TIME 0.4
-#define JUMP_TIME 0.3
+#define JUMP_TIME 0.5
static const float WALKSPEED = 90;
@@ -55,6 +55,7 @@
switch (action) {
case WALKING:
{
+ sprite->set_action("jump");
physic.set_velocity_y(700);
action = JUMPING;
action_timer.start(JUMP_TIME);
|