hop- / Mercurius

This is a very secret project. Nobody knows what it is.
GNU General Public License v2.0
3 stars 0 forks source link

Dude jumps higher and higher #20

Closed hop- closed 8 years ago

hop- commented 8 years ago

Issue comes from OnGround::deleteLater: this state still active in case when object already change OnGround to Jumping, and it listen to OnAir event and creates new Falling state. Falling and Jumping listen to OnSurface event and both create new OnGround after each such a cycle the number of OnGround states for dude multiplies

hop- commented 8 years ago

we should not react to events if object waiting for deletion