supertuxkart-sourceforge-migration / stk-migration-test

0 stars 0 forks source link

Kart flattened for no reason in battle mode #788

Closed supertuxkart-sourceforge-migration closed 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria

Reported on forum, to investigate :

Hi There! I have been playing stk for almost 2 years now, and I
think its a great game! I have been testing out the new 0.8.1
versions with my siblings, and we have noticed that sometimes
during battle mode one of our karts will suddenly go flat. It
looks exactly as if it was hit by a fly swatter, it drives slowly,
and then after a few seconds it goes back to normal. The player
doesn't lose a life when it happens, there is no sound effect,
and it happens at completely random times, even when no one in
the game has a fly swatter! It doesn't seem to happen in any
game mode except battle mode. Is this a bug, or is it supposed
to be happening? Thanks a lot, and keep up the great work on a
great game!
supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk I think this is caused by touching the tire (which get dropped when a kart is hit). They apparently have the 'flatten' attribute set. Not sure why - but not a 0.8.1 release blocker imho (though perhaps we can fix it tomorrow, shouldn't be hard, might just be a missing initialisation somewhere)

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk I added a proper fix (a constructor which will make sure that all fields of the Settings class are initialised) in r14576 to trunk.

I am closing this ticket now, please reopen if the original issue is not triggered by touching the tire.

Thanks a lot for the report! Joerg