projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f63ef
)
Just tweaked the stomp cloud values a little.
author
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 5 Aug 2004 13:49:20 +0000
(13:49 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 5 Aug 2004 13:49:20 +0000
(13:49 +0000)
A destroying animation would fit nicely, if anyone is willing to do it.
SVN-Revision: 1706
src/gameobjs.cpp
patch
|
blob
|
history
diff --git
a/src/gameobjs.cpp
b/src/gameobjs.cpp
index
2bde3cb
..
95e544a
100644
(file)
--- a/
src/gameobjs.cpp
+++ b/
src/gameobjs.cpp
@@
-418,13
+418,13
@@
Sprite *img_smoke_cloud;
SmokeCloud::SmokeCloud(const Vector& pos)
: position(pos)
{
- timer.start(
25
0);
+ timer.start(
30
0);
}
void
SmokeCloud::action(float elapsed_time)
{
- position.y -= 2 * elapsed_time;
+ position.y -=
1.
2 * elapsed_time;
if(!timer.check())
remove_me();