From: florianf Date: Sat, 27 Feb 2010 14:32:56 +0000 (+0000) Subject: Snowman: Spawn the Snowball exactly where the Snowman's head was. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cf2715339e20bafd49a13e9f969b3bf5cf69481f;p=supertux.git Snowman: Spawn the Snowball exactly where the Snowman's head was. This feels a lot more natural. git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6420 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/src/badguy/snowman.cpp b/src/badguy/snowman.cpp index 17783de4e..e35311328 100644 --- 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();