Just tweaked the stomp cloud values a little.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 5 Aug 2004 13:49:20 +0000 (13:49 +0000)
committerRicardo 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

index 2bde3cb..95e544a 100644 (file)
@@ -418,13 +418,13 @@ Sprite *img_smoke_cloud;
 SmokeCloud::SmokeCloud(const Vector& pos)
   : position(pos)
 {
-  timer.start(250);
+  timer.start(300);
 }
 
 void
 SmokeCloud::action(float elapsed_time)
 {
-  position.y -= 2 * elapsed_time;
+  position.y -= 1.2 * elapsed_time;
 
   if(!timer.check())
     remove_me();