From: Florian Forster 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.octo.it/?a=commitdiff_plain;h=830aabe0656083bcd0353e2da2220fa709fb8e3b;p=supertux.git Snowman: Spawn the Snowball exactly where the Snowman's head was. This feels a lot more natural. SVN-Revision: 6420 --- 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();