Snowshot: Call ->set_action() in the constructor.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 4 Mar 2010 13:06:41 +0000 (13:06 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 4 Mar 2010 13:06:41 +0000 (13:06 +0000)
commitd31fd5c5e70e1fb04dbe5f139d4944b046ccadb1
tree0019e9b30ebb878da77831f0547fe08ae62bbc5a
parent4316c12ccd8dedf92674c7198b22f7660e0e0d1c
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.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6541 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/badguy/kamikazesnowball.cpp