projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac2502
)
Fixed bullet position.
author
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 4 Jun 2004 14:14:59 +0000
(14:14 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 4 Jun 2004 14:14:59 +0000
(14:14 +0000)
SVN-Revision: 1414
src/special.cpp
patch
|
blob
|
history
diff --git
a/src/special.cpp
b/src/special.cpp
index
1ff38f0
..
bcbd2a8
100644
(file)
--- a/
src/special.cpp
+++ b/
src/special.cpp
@@
-63,7
+63,7
@@
Bullet::Bullet(const Vector& pos, float xm, int dir, int kind_)
physic.set_velocity_x(-BULLET_XM + xm);
}
- base.y = pos.y
+ base.height/2
;
+ base.y = pos.y;
physic.set_velocity_y(-BULLET_STARTING_YM);
old_base = base;
kind = kind_;