Snowshot: Call ->set_action() in the constructor.
authorFlorian Forster <supertux@octo.it>
Thu, 4 Mar 2010 13:06:41 +0000 (13:06 +0000)
committerFlorian Forster <supertux@octo.it>
Thu, 4 Mar 2010 13:06:41 +0000 (13:06 +0000)
commit19ca9e56f0d005d8b71860af54ad84e1ad8d703f
tree0019e9b30ebb878da77831f0547fe08ae62bbc5a
parent409f171cfcda739b09d5456b72b1b70e3ab21716
Snowshot: Call ->set_action() in the constructor.

Otherwise the bounding box will be initialized to "collision-left" which is
only 15 pixels wide. This will be corrected by ->initialize() eventually, but
by then it's too late for the "Cannon" code.

SVN-Revision: 6541
src/badguy/kamikazesnowball.cpp