projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cab928
)
Snowman: Spawn the Snowball exactly where the Snowman's head was.
author
Florian Forster
<supertux@octo.it>
Sat, 27 Feb 2010 14:32:56 +0000
(14:32 +0000)
committer
Florian Forster
<supertux@octo.it>
Sat, 27 Feb 2010 14:32:56 +0000
(14:32 +0000)
This feels a lot more natural.
SVN-Revision: 6420
src/badguy/snowman.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/snowman.cpp
b/src/badguy/snowman.cpp
index
17783de
..
e353113
100644
(file)
--- a/
src/badguy/snowman.cpp
+++ b/
src/badguy/snowman.cpp
@@
-38,8
+38,8
@@
Snowman::collision_squished(GameObject& object)
// replace with Snowball
Vector snowball_pos = get_pos();
// Hard-coded values from sprites
- snowball_pos.x +=
2
;
- snowball_pos.y +=
40
;
+ snowball_pos.x +=
5
;
+ snowball_pos.y +=
1
;
SnowBall* snowball = new SnowBall(snowball_pos, dir);
remove_me();