projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17e417
)
Tux kicking animation wasn't being used in some circustances - fixed.
author
Ricardo Cruz
<rick2@aeiou.pt>
Wed, 28 Apr 2004 21:23:14 +0000
(21:23 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Wed, 28 Apr 2004 21:23:14 +0000
(21:23 +0000)
SVN-Revision: 821
src/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy.cpp
b/src/badguy.cpp
index
4181a2d
..
bf6eb79
100644
(file)
--- a/
src/badguy.cpp
+++ b/
src/badguy.cpp
@@
-845,6
+845,7
@@
BadGuy::squish(Player* player)
}
mode = KICK;
+ player->kick_timer.start(KICKING_TIME);
set_sprite(img_mriceblock_flat_left, img_mriceblock_flat_right);
}
@@
-1036,6
+1037,7
@@
BadGuy::collision(void *p_c_object, int c_object, CollisionType type)
}
mode = KICK;
+ player->kick_timer.start(KICKING_TIME);
set_sprite(img_mriceblock_flat_left, img_mriceblock_flat_right);
}
break;