projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made badguys face right when spawning onscreen and to the left of the
[supertux.git]
/
src
/
badguy
/
rocketexplosion.cpp
diff --git
a/src/badguy/rocketexplosion.cpp
b/src/badguy/rocketexplosion.cpp
index
68d044c
..
a1497ee
100644
(file)
--- a/
src/badguy/rocketexplosion.cpp
+++ b/
src/badguy/rocketexplosion.cpp
@@
-24,12
+24,8
@@
static const float EXPLOSIONTIME = 1;
RocketExplosion::RocketExplosion(const Vector& pos, Direction dir)
static const float EXPLOSIONTIME = 1;
RocketExplosion::RocketExplosion(const Vector& pos, Direction dir)
+ : BadGuy(pos, dir, "images/creatures/mr_rocket/explosion.sprite")
{
{
- start_position = pos;
- bbox.set_pos(pos);
- bbox.set_size(31.8, 31.8);
- sprite = sprite_manager->create("images/creatures/mr_rocket/explosion.sprite");
- this->dir = dir;
countMe = false;
explode();
}
countMe = false;
explode();
}