There is one player object per sector. If Tux backflips into a script trigger
and spawns in another sector, the player object in the first sector will still
have "backflipping = true", and Tux will be backflipping when he returns to the
first sector. This looks wrong and can get the user stuck in "Find the Bigger
Fish". The flag needs to be reset when Tux spawns.
Resolves #563. Thanks to Matt McCutchen for this patch.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6300
837edb03-e0f3-0310-88ca-
d4d4e8b29345
else
set_size(31.8f, 31.8f);
duck = false;
+ backflipping = false;
last_ground_y = vector.y;
if (climbing) stop_climbing(*climbing);